diff options
author | Devaev Maxim <[email protected]> | 2018-06-27 18:25:59 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-06-27 18:25:59 +0300 |
commit | 4c145f363f33222b948df981d8c936844f2b17dc (patch) | |
tree | 7932ea4f2af537caed6b8cbc9750db05fe14e72b /kvmd/tox.ini |
initial commit
Diffstat (limited to 'kvmd/tox.ini')
-rw-r--r-- | kvmd/tox.ini | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/kvmd/tox.ini b/kvmd/tox.ini new file mode 100644 index 00000000..d627345f --- /dev/null +++ b/kvmd/tox.ini @@ -0,0 +1,37 @@ +[tox] +envlist = flake8, pylint, mypy, vulture +skipsdist = True + +[testenv] +basepython = python3.6 + +[testenv:flake8] +commands = flake8 kvmd +deps = + flake8 + flake8-double-quotes + -rdev_requirements.txt + +[testenv:pylint] +commands = pylint --output-format=colorized --reports=no kvmd +deps = + pylint + -rdev_requirements.txt + +[testenv:mypy] +commands = mypy kvmd +deps = + mypy + -rdev_requirements.txt + +[testenv:vulture] +commands = vulture kvmd +deps = + vulture + -rdev_requirements.txt + +[flake8] +max-line-length = 160 +# W503 line break before binary operator +# E227 missing whitespace around bitwise or shift operator +ignore=W503,E227 |