Run flake on test folder
MODIFY
setup.cfg
setup.cfg
@@ -6,7 +6,7 @@ cover-package=urllib3
cover-erase=true
[flake8]
-exclude=./docs/conf.py,./test/*,./urllib3/packages/*
+exclude=./docs/conf.py,./urllib3/packages/*
max-line-length=99
[wheel]

MODIFY
tox.ini
tox.ini
@@ -42,7 +42,7 @@ deps=
flake8
commands=
flake8 --version
- flake8 setup.py docs dummyserver urllib3
+ flake8 setup.py docs dummyserver urllib3 test
[testenv:docs]
basepython = python2.7

Run flake on test folder