diff options
author | Devaev Maxim <[email protected]> | 2018-09-26 02:57:24 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-09-26 02:57:24 +0300 |
commit | 81a5311349564a1016c4af2bf18ae872b650e85b (patch) | |
tree | d01fd027948494e22ae2c14334b98c1515e5e8a4 /tox.ini | |
parent | f3946f102fc167efdc53c73412b2c0d6ac6c72c5 (diff) |
moved kvmd to the root
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..b99660fb --- /dev/null +++ b/tox.ini @@ -0,0 +1,46 @@ +[tox] +envlist = flake8, pylint, mypy, vulture, eslint, htmlhint +skipsdist = True + +[testenv] +basepython = python3.7 + +[testenv:flake8] +commands = flake8 kvmd genmap.py +deps = + flake8 + flake8-double-quotes + -rtestenv/requirements.txt + +[testenv:pylint] +commands = pylint --output-format=colorized --reports=no kvmd genmap.py +deps = + pylint + -rtestenv/requirements.txt + +[testenv:mypy] +commands = mypy kvmd genmap.py +deps = + mypy + -rtestenv/requirements.txt + +[testenv:vulture] +commands = vulture kvmd genmap.py vulture-wl.py +deps = + vulture + -rtestenv/requirements.txt + +[testenv:eslint] +whitelist_externals = eslint +commands = eslint --config=eslintrc.yaml --color web/js + +[testenv:htmlhint] +whitelist_externals = htmlhint +commands = htmlhint web/*.html + +[flake8] +max-line-length = 160 +# W503 line break before binary operator +# E227 missing whitespace around bitwise or shift operator +# E241 multiple spaces after +ignore=W503,E227,E241 |