From b0bb7579aa63abaf5d0e2d5ef79fc7d0960b1697 Mon Sep 17 00:00:00 2001 From: Olly Cope Date: Fri, 17 Jan 2020 13:01:31 +0000 Subject: tox: fix pytest command name and add E203 exception for flake8 E203 isn't PEP8 compliant - see https://github.com/psf/black/issues/315 --- tox.ini | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tox.ini') 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 -- cgit v1.2.1