diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 21 |
1 files changed, 18 insertions, 3 deletions
@@ -20,11 +20,11 @@ foreman_tests = [testenv:flake8] deps = flake8 -commands = flake8 sos tests +commands = flake8 [testenv:pylint] deps = pylint -commands = pylint --rcfile=tox.ini sos tests +commands = pylint --rcfile=tox.ini . [testenv:unit_tests] basepython = python3 @@ -57,6 +57,13 @@ deps = commands = nosetests -v --with-coverage --cover-package=sos tests/unittests --cover-html +[flake8] +exclude = + .git, + .tox, + debian, + docs + [pylint] # C0114, # missing-module-docstring # C0115, # missing-class-docstring @@ -72,5 +79,13 @@ enable = R0912, # too-many-branches R0914, # too-many-locals R1725, # super-with-arguments - W1404 # implicit-str-concat + W1404, # implicit-str-concat + W4901, # deprecated-module + W4902, # deprecated-method + W4903 # deprecated-argument max-line-length = 79 +recursive = y +ignore = + .git, + .tox, + debian |