flake8: Add flake8-deprecated plugin.

Warns about deprecated method calls.
https://pypi.python.org/pypi/flake8-deprecated/
This commit is contained in:
Florian Bruhin 2016-01-22 19:13:23 +01:00
parent f74d1f26c7
commit dbdbc1d8db
2 changed files with 4 additions and 1 deletions

View File

@ -21,12 +21,14 @@ exclude = .venv,.hypothesis,.git,__pycache__,resources.py
# P101: format string does contain unindexed parameters
# P102: docstring does contain unindexed parameters
# P103: other string does contain unindexed parameters
# D001: found assert_ replace it with assertTrue
ignore =
E128,E226,E265,E501,E402,E266,
F401,
N802,
L101,L102,L103,L201,L202,L203,L204,L207,
P101,P102,P103
P101,P102,P103,
D001
max-complexity = 12
putty-ignore =
/# pylint: disable=invalid-name/ : +N801,N806

View File

@ -162,6 +162,7 @@ deps =
pep8==1.7.0
pyflakes==1.0.0
flake8-string-format==0.2.1
flake8-deprecated==0.2
commands =
{envpython} -m flake8