Fix linting errors with current build-base image
This commit is contained in:
parent
a4f83bd28a
commit
b35a9fad86
|
@ -22,7 +22,7 @@ class AuditEntry(UUIDModel):
|
||||||
ACTION_AUTHORIZE_APPLICATION = 'authorize_application'
|
ACTION_AUTHORIZE_APPLICATION = 'authorize_application'
|
||||||
ACTION_SUSPICIOUS_REQUEST = 'suspicious_request'
|
ACTION_SUSPICIOUS_REQUEST = 'suspicious_request'
|
||||||
ACTION_SIGN_UP = 'sign_up'
|
ACTION_SIGN_UP = 'sign_up'
|
||||||
ACTION_PASSWORD_RESET = 'password_reset' # noqa
|
ACTION_PASSWORD_RESET = 'password_reset' # noqa # nosec
|
||||||
ACTION_INVITE_CREATED = 'invitation_created'
|
ACTION_INVITE_CREATED = 'invitation_created'
|
||||||
ACTION_INVITE_USED = 'invitation_used'
|
ACTION_INVITE_USED = 'invitation_used'
|
||||||
ACTIONS = (
|
ACTIONS = (
|
||||||
|
|
|
@ -137,4 +137,6 @@ def signal_handler(sender, **kwargs):
|
||||||
"""Add all loaded config files to autoreload watcher"""
|
"""Add all loaded config files to autoreload watcher"""
|
||||||
for path in CONFIG.loaded_file:
|
for path in CONFIG.loaded_file:
|
||||||
sender.watch_file(path)
|
sender.watch_file(path)
|
||||||
|
|
||||||
|
|
||||||
autoreload_started.connect(signal_handler)
|
autoreload_started.connect(signal_handler)
|
||||||
|
|
|
@ -5,7 +5,7 @@ isort
|
||||||
astroid==2.0.4
|
astroid==2.0.4
|
||||||
pylint==2.1.1
|
pylint==2.1.1
|
||||||
pylint-django==2.0.2
|
pylint-django==2.0.2
|
||||||
prospector
|
prospector==1.1.5
|
||||||
django-debug-toolbar
|
django-debug-toolbar
|
||||||
pycodestyle<2.4.0,>=2.0.0
|
pycodestyle<2.4.0,>=2.0.0
|
||||||
bumpversion
|
bumpversion
|
||||||
|
|
Reference in a new issue