# HG changeset patch # User Oliver Cope # Date 1570786933 -7200 # Fri Oct 11 11:42:13 2019 +0200 # Node ID ffda205fff702180cf0b5489a2078c661452b493 # Parent 0c53e353e20b5275ff5fd0c67a9e3432efbcdfa1 Add a tox.ini diff --git a/tox.ini b/tox.ini new file mode 100644 --- /dev/null +++ b/tox.ini @@ -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