update flake8 and mypy
This commit is contained in:
parent
bf9159937c
commit
997b496a68
|
@ -1,7 +1,7 @@
|
||||||
[flake8]
|
[flake8]
|
||||||
max-line-length = 140
|
max-line-length = 140
|
||||||
max-complexity = 25
|
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/*
|
exclude = mitmproxy/contrib/*,test/mitmproxy/data/*,release/build/*,mitmproxy/io/proto/*
|
||||||
addons = file,open,basestring,xrange,unicode,long,cmp
|
addons = file,open,basestring,xrange,unicode,long,cmp
|
||||||
|
|
||||||
|
|
6
tox.ini
6
tox.ini
|
@ -23,7 +23,7 @@ commands =
|
||||||
bash -c "mitmdump --version 2>&1 | grep 'mitmproxy requires Python 3.6'"
|
bash -c "mitmdump --version 2>&1 | grep 'mitmproxy requires Python 3.6'"
|
||||||
|
|
||||||
[testenv:flake8]
|
[testenv:flake8]
|
||||||
deps = flake8>=3.7.8,<3.8
|
deps = flake8==3.8
|
||||||
commands =
|
commands =
|
||||||
flake8 --jobs 8 mitmproxy pathod examples test release
|
flake8 --jobs 8 mitmproxy pathod examples test release
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ commands =
|
||||||
python ./test/filename_matching.py
|
python ./test/filename_matching.py
|
||||||
|
|
||||||
[testenv:mypy]
|
[testenv:mypy]
|
||||||
deps = mypy>=0.761,<0.762
|
deps = mypy==0.782
|
||||||
commands =
|
commands =
|
||||||
mypy .
|
mypy .
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ passenv = CI_* GITHUB_* AWS_* TWINE_* DOCKER_*
|
||||||
deps =
|
deps =
|
||||||
-rrequirements.txt
|
-rrequirements.txt
|
||||||
pyinstaller==3.5
|
pyinstaller==3.5
|
||||||
twine==3.1.1
|
twine==3.2.0
|
||||||
awscli
|
awscli
|
||||||
commands =
|
commands =
|
||||||
mitmdump --version
|
mitmdump --version
|
||||||
|
|
Loading…
Reference in New Issue