New version.

New flake8 file.
Added package.json for scripts.
This commit is contained in:
Michael Shepanski 2019-11-11 20:18:53 -05:00
parent 4906c1cc68
commit f473b95396
3 changed files with 22 additions and 1 deletions

16
.flake8 Normal file
View file

@ -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
package.json Normal file
View file

@ -0,0 +1,5 @@
{
"scripts": {
"pypi": "addkeys.sh; npm-run-all -p vue-watch django-serve"
}
}

View file

@ -14,7 +14,7 @@ CONFIG = PlexConfig(CONFIG_PATH)
# 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)