From 997b496a68627972d17aa5858926f9f96c0767da Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Wed, 26 Aug 2020 23:33:15 +0200 Subject: [PATCH] update flake8 and mypy --- setup.cfg | 2 +- tox.ini | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.cfg b/setup.cfg index c9c19704f..5006359f1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 diff --git a/tox.ini b/tox.ini index a4c7b37cf..47582a54d 100644 --- a/tox.ini +++ b/tox.ini @@ -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