diff options
author | Aldo Cortesi <aldo@corte.si> | 2016-10-27 11:00:18 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-27 11:00:18 +1300 |
commit | 2cc4e9210878c7af9ae670808ee54d6b3e91fb64 (patch) | |
tree | 655a20337007c1b73ffb40e63288736f5e805427 | |
parent | 72ac572226ec76a44cfe2b981ce6bd1bce6ab69a (diff) | |
parent | d6bdb288650768cf09f21fb42be7cd2603e34b9f (diff) | |
download | mitmproxy-2cc4e9210878c7af9ae670808ee54d6b3e91fb64.tar.gz mitmproxy-2cc4e9210878c7af9ae670808ee54d6b3e91fb64.tar.bz2 mitmproxy-2cc4e9210878c7af9ae670808ee54d6b3e91fb64.zip |
Merge pull request #1677 from cortesi/mypy
Add mypy to lint
-rw-r--r-- | setup.py | 3 | ||||
-rw-r--r-- | tox.ini | 6 |
2 files changed, 5 insertions, 4 deletions
@@ -91,6 +91,9 @@ setup( ':sys_platform != "win32"': [ ], 'dev': [ + "flake8>=2.6.2, <3.1", + "mypy-lang>=0.4.5, <4.6", + "rstcheck>=2.2, <3.0", "tox>=2.3, <3", "mock>=2.0, <2.1", "pytest>=3, <3.1", @@ -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 |