ffda205fff70 — Oliver Cope 4 years ago
Add a tox.ini
1 files changed, 24 insertions(+), 0 deletions(-)

A => tox.ini
A => tox.ini +24 -0
@@ 0,0 1,24 @@ 
+[tox]
+envlist = py37,py37-flake8
+
+[testenv]
+deps=
+    pytest
+commands=pytest []
+
+[testenv:py37-flake8]
+deps =
+    flake8
+    {[testenv]deps}
+commands = flake8 mailtools []
+
+[flake8]
+# E501: Line too long
+# E731: do not assign a lambda expression, use a def
+# W503: line break before binary operator
+# W504: line break after binary operator
+ignore =
+    E501
+    E731
+    W503
+    W504