summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorOlly Cope <olly@ollycope.com>2020-01-17 13:01:31 +0000
committerOlly Cope <olly@ollycope.com>2020-01-17 13:01:31 +0000
commitb0bb7579aa63abaf5d0e2d5ef79fc7d0960b1697 (patch)
tree65983f0a7ef3e9764b781b36b438ede2d2602bf9 /tox.ini
parent5f783c02b178133660e82e3902a801af2fc7bb64 (diff)
downloadyoyo-b0bb7579aa63abaf5d0e2d5ef79fc7d0960b1697.tar.gz
tox: fix pytest command name and add E203 exception for flake8
E203 isn't PEP8 compliant - see https://github.com/psf/black/issues/315
Diffstat (limited to 'tox.ini')
-rwxr-xr-xtox.ini9
1 files changed, 6 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index e0697f4..e7677ae 100755
--- a/tox.ini
+++ b/tox.ini
@@ -10,7 +10,7 @@ deps=
frozendate
tms
-commands=py.test []
+commands=pytest []
[testenv:py37-sphinx]
deps=
@@ -31,5 +31,8 @@ commands=
flake8 yoyo
[flake8]
-#: W503 line break before binary operator
-ignore = W503
+# E203: Whitespace before ':' (black does this)
+# W503: line break before binary operator
+ignore =
+ E203
+ W503