test: Add flake8 target to tox.ini
[tox]
-envlist=py{37,38,39},pillow{3.x,4.x,5.x,6.x,7.x}
+envlist=py{37,38,39},pillow{3.x,4.x,5.x,6.x,7.x},flake8
[testenv]
usedevelop = True
@@ -19,3 +19,11 @@ passenv =
ALL_TESTS
commands =
nosetests
+
+[testenv:flake8]
+description =
+ Run style checks.
+extras =
+ testing
+commands =
+ flake8 src
