diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2019-12-31 16:03:45 +0100 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2019-12-31 16:27:22 +0100 |
commit | 40925181e9d64c727f75e89acf0205bb4b87bb3a (patch) | |
tree | a61834dd85444d50ce04cd1aa157875dbfc03967 /tox.ini | |
parent | 7b638f1b6b543ec5e23170217a42ca0e5c421992 (diff) | |
download | mitmproxy-40925181e9d64c727f75e89acf0205bb4b87bb3a.tar.gz mitmproxy-40925181e9d64c727f75e89acf0205bb4b87bb3a.tar.bz2 mitmproxy-40925181e9d64c727f75e89acf0205bb4b87bb3a.zip |
re-add missing CI steps and fix linting
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 19 |
1 files changed, 15 insertions, 4 deletions
@@ -1,5 +1,5 @@ [tox] -envlist = py35, py36, py37, lint, individual_coverage, wheeltest, docs +envlist = py35, py36, py37, flake8, filename_matching, mypy, individual_coverage, docs skipsdist = True toxworkdir={env:TOX_WORK_DIR:.tox} @@ -22,14 +22,25 @@ deps = commands = bash -c "mitmdump --version 2>&1 | grep 'mitmproxy requires Python 3.6'" -[testenv:lint] +[testenv:flake8] +deps = flake8>=3.7.8,<3.8 commands = - mitmdump --version flake8 --jobs 8 mitmproxy pathod examples test release + +[testenv:filename_matching] +commands = python ./test/filename_matching.py - rstcheck README.rst + +[testenv:mypy] +deps = mypy>=0.761,<0.762 +commands = mypy . +[testenv:rstcheck] +deps = rstcheck>=2.2,<4.0 +commands = + rstcheck README.rst + [testenv:individual_coverage] deps = -rrequirements.txt |