update flake8 and mypy

This commit is contained in:
Maximilian Hils 2020-08-26 23:33:15 +02:00
parent bf9159937c
commit 997b496a68
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
[flake8]
max-line-length = 140
max-complexity = 25
ignore = E251,E252,C901,W292,W503,W504,W605,E722,E741,E126
ignore = E251,E252,C901,W292,W503,W504,W605,E722,E741,E126,F541
exclude = mitmproxy/contrib/*,test/mitmproxy/data/*,release/build/*,mitmproxy/io/proto/*
addons = file,open,basestring,xrange,unicode,long,cmp

View File

@ -23,7 +23,7 @@ commands =
bash -c "mitmdump --version 2>&1 | grep 'mitmproxy requires Python 3.6'"
[testenv:flake8]
deps = flake8>=3.7.8,<3.8
deps = flake8==3.8
commands =
flake8 --jobs 8 mitmproxy pathod examples test release
@ -32,7 +32,7 @@ commands =
python ./test/filename_matching.py
[testenv:mypy]
deps = mypy>=0.761,<0.762
deps = mypy==0.782
commands =
mypy .
@ -52,7 +52,7 @@ passenv = CI_* GITHUB_* AWS_* TWINE_* DOCKER_*
deps =
-rrequirements.txt
pyinstaller==3.5
twine==3.1.1
twine==3.2.0
awscli
commands =
mitmdump --version