mirror of
https://github.com/jazzband/django-axes.git
synced 2026-03-16 14:20:23 +00:00
Update prospector to 1.8.2
This commit is contained in:
parent
b65482ec98
commit
c8f831bb62
4 changed files with 14 additions and 4 deletions
|
|
@ -5,3 +5,11 @@ ignore-paths:
|
|||
pycodestyle:
|
||||
options:
|
||||
max-line-length: 142
|
||||
|
||||
pylint:
|
||||
disable:
|
||||
- django-not-configured
|
||||
|
||||
pyflakes:
|
||||
disable:
|
||||
- F401
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
# pylint: disable=import-outside-toplevel, unused-import
|
||||
|
||||
from logging import getLogger
|
||||
|
||||
from django import apps
|
||||
|
|
@ -26,8 +28,8 @@ class AppConfig(apps.AppConfig):
|
|||
cls.initialized = True
|
||||
|
||||
# Only import settings, checks, and signals one time after Django has been initialized
|
||||
from axes.conf import settings # noqa
|
||||
from axes import checks, signals # noqa
|
||||
from axes.conf import settings
|
||||
from axes import checks, signals
|
||||
|
||||
# Skip startup log messages if Axes is not set to verbose
|
||||
if settings.AXES_VERBOSE:
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ from axes.handlers.base import AxesHandler
|
|||
from typing import Optional
|
||||
|
||||
|
||||
class AxesTestHandler(AxesHandler): # pylint: disable=unused-argument
|
||||
class AxesTestHandler(AxesHandler):
|
||||
"""
|
||||
Signal handler implementation that does nothing, ideal for a test suite.
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
black==22.10.0
|
||||
mypy==0.991
|
||||
prospector==1.7.7
|
||||
prospector==1.8.2
|
||||
types-pkg_resources # Type stub
|
||||
|
|
|
|||
Loading…
Reference in a new issue