flake8: Add flake8-deprecated plugin.
Warns about deprecated method calls. https://pypi.python.org/pypi/flake8-deprecated/
This commit is contained in:
parent
f74d1f26c7
commit
dbdbc1d8db
@ -21,12 +21,14 @@ exclude = .venv,.hypothesis,.git,__pycache__,resources.py
|
|||||||
# P101: format string does contain unindexed parameters
|
# P101: format string does contain unindexed parameters
|
||||||
# P102: docstring does contain unindexed parameters
|
# P102: docstring does contain unindexed parameters
|
||||||
# P103: other string does contain unindexed parameters
|
# P103: other string does contain unindexed parameters
|
||||||
|
# D001: found assert_ replace it with assertTrue
|
||||||
ignore =
|
ignore =
|
||||||
E128,E226,E265,E501,E402,E266,
|
E128,E226,E265,E501,E402,E266,
|
||||||
F401,
|
F401,
|
||||||
N802,
|
N802,
|
||||||
L101,L102,L103,L201,L202,L203,L204,L207,
|
L101,L102,L103,L201,L202,L203,L204,L207,
|
||||||
P101,P102,P103
|
P101,P102,P103,
|
||||||
|
D001
|
||||||
max-complexity = 12
|
max-complexity = 12
|
||||||
putty-ignore =
|
putty-ignore =
|
||||||
/# pylint: disable=invalid-name/ : +N801,N806
|
/# pylint: disable=invalid-name/ : +N801,N806
|
||||||
|
Loading…
Reference in New Issue
Block a user