diff --git a/setup.cfg b/setup.cfg index c5032b3d6..50489de2b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 diff --git a/tox.ini b/tox.ini index 304b735b7..9add57684 100644 --- a/tox.ini +++ b/tox.ini @@ -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