From b35a9fad861c072e089b0fa8800927e97719879b Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 25 Jun 2019 18:50:37 +0200 Subject: [PATCH] Fix linting errors with current build-base image --- passbook/audit/models.py | 2 +- passbook/lib/config.py | 2 ++ requirements-dev.txt | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/passbook/audit/models.py b/passbook/audit/models.py index 0fd422f01..c54447e74 100644 --- a/passbook/audit/models.py +++ b/passbook/audit/models.py @@ -22,7 +22,7 @@ class AuditEntry(UUIDModel): ACTION_AUTHORIZE_APPLICATION = 'authorize_application' ACTION_SUSPICIOUS_REQUEST = 'suspicious_request' 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_USED = 'invitation_used' ACTIONS = ( diff --git a/passbook/lib/config.py b/passbook/lib/config.py index a8db9bab8..4a5a1fcec 100644 --- a/passbook/lib/config.py +++ b/passbook/lib/config.py @@ -137,4 +137,6 @@ def signal_handler(sender, **kwargs): """Add all loaded config files to autoreload watcher""" for path in CONFIG.loaded_file: sender.watch_file(path) + + autoreload_started.connect(signal_handler) diff --git a/requirements-dev.txt b/requirements-dev.txt index fedef8ce9..85d364c25 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -5,7 +5,7 @@ isort astroid==2.0.4 pylint==2.1.1 pylint-django==2.0.2 -prospector +prospector==1.1.5 django-debug-toolbar pycodestyle<2.4.0,>=2.0.0 bumpversion