From df83adb0594298fac002e4331d79053366777765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksi=20Ha=CC=88kli?= Date: Tue, 12 Feb 2019 23:33:18 +0200 Subject: [PATCH] Run more comprehensive prospector checks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aleksi Häkli --- .prospector.yaml | 11 ----------- axes/conf.py | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/.prospector.yaml b/.prospector.yaml index 8fcf605..303a4c7 100644 --- a/.prospector.yaml +++ b/.prospector.yaml @@ -5,14 +5,3 @@ ignore-paths: pep8: options: max-line-length: 119 - -pyflakes: - disable: - - F401 - -pylint: - disable: - - old-style-class - -dodgy: - run: false diff --git a/axes/conf.py b/axes/conf.py index 7e2e659..0c4c1f3 100644 --- a/axes/conf.py +++ b/axes/conf.py @@ -17,7 +17,7 @@ class MyAppConf(AppConf): USERNAME_FORM_FIELD = 'username' # use a specific password field to retrieve from login POST data - PASSWORD_FORM_FIELD = 'password' + PASSWORD_FORM_FIELD = 'password' # noqa # use a provided callable to transform the POSTed username into the one used in credentials USERNAME_CALLABLE = None