Skip to content

Commit 997b496

Browse files
committed
update flake8 and mypy
1 parent bf91599 commit 997b496

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

setup.cfg

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

tox.ini

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ commands =
2323
bash -c "mitmdump --version 2>&1 | grep 'mitmproxy requires Python 3.6'"
2424

2525
[testenv:flake8]
26-
deps = flake8>=3.7.8,<3.8
26+
deps = flake8==3.8
2727
commands =
2828
flake8 --jobs 8 mitmproxy pathod examples test release
2929

@@ -32,7 +32,7 @@ commands =
3232
python ./test/filename_matching.py
3333

3434
[testenv:mypy]
35-
deps = mypy>=0.761,<0.762
35+
deps = mypy==0.782
3636
commands =
3737
mypy .
3838

@@ -52,7 +52,7 @@ passenv = CI_* GITHUB_* AWS_* TWINE_* DOCKER_*
5252
deps =
5353
-rrequirements.txt
5454
pyinstaller==3.5
55-
twine==3.1.1
55+
twine==3.2.0
5656
awscli
5757
commands =
5858
mitmdump --version

0 commit comments

Comments
 (0)