aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini21
1 files changed, 18 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 096d795f..49d3aac6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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