Skip to content

Commit

Permalink
New version.
Browse files Browse the repository at this point in the history
New flake8 file.
Added package.json for scripts.
  • Loading branch information
pkkid committed Nov 12, 2019
1 parent 4906c1c commit f473b95
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Flake8 configuration
# Copy or symlink this file to ~/.flake8
# --------------------------------------
# E128: continuation line under-indented for visual indent
# E701: multiple statements on one line (colon)
# E702: multiple statements on one line (semicolon)
# E731: do not assign a lambda expression, use a def
# W293: blank line contains whitespace
# W503: line break before binary operator
# W605: invalid escape sequence
[flake8]
ignore=E128,E701,E702,E731,W293,W503,W605
exclude=compat.py
max-complexity = -1
max-line-length = 125
show-source = True
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"scripts": {
"pypi": "addkeys.sh; npm-run-all -p vue-watch django-serve"
}
}
2 changes: 1 addition & 1 deletion plexapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# PlexAPI Settings
PROJECT = 'PlexAPI'
VERSION = '3.2.0'
VERSION = '3.3.0'
TIMEOUT = CONFIG.get('plexapi.timeout', 30, int)
X_PLEX_CONTAINER_SIZE = CONFIG.get('plexapi.container_size', 100, int)
X_PLEX_ENABLE_FAST_CONNECT = CONFIG.get('plexapi.enable_fast_connect', False, bool)
Expand Down

0 comments on commit f473b95

Please sign in to comment.