aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-10-27 09:26:18 +1300
committerAldo Cortesi <aldo@nullcube.com>2016-10-27 09:40:27 +1300
commitd6bdb288650768cf09f21fb42be7cd2603e34b9f (patch)
tree655a20337007c1b73ffb40e63288736f5e805427 /tox.ini
parent72ac572226ec76a44cfe2b981ce6bd1bce6ab69a (diff)
downloadmitmproxy-d6bdb288650768cf09f21fb42be7cd2603e34b9f.tar.gz
mitmproxy-d6bdb288650768cf09f21fb42be7cd2603e34b9f.tar.bz2
mitmproxy-d6bdb288650768cf09f21fb42be7cd2603e34b9f.zip
Add mypy to lint
An extremely modest beginning, but we'll roll this out over the whole codebase in time. Also move flake8 and mypy dependencies into setup[dev].
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 2 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index 0b183da8..6a75aaed 100644
--- a/tox.ini
+++ b/tox.ini
@@ -18,9 +18,7 @@ changedir = docs
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:lint]
-deps =
- flake8>=2.6.2, <3.1
- rstcheck>=2.2, <3.0
commands =
flake8 --jobs 8 --count mitmproxy pathod examples test
- rstcheck README.rst \ No newline at end of file
+ rstcheck README.rst
+ mypy -s ./mitmproxy/addonmanager.py