summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2019-05-15 19:45:15 -0400
committerJason R. Coombs <jaraco@jaraco.com>2019-05-15 19:45:15 -0400
commit4399038f2eab21f942a5462e0f5b1351e6203873 (patch)
tree9ea451973a2b3847f34b6850c1315928893b9bbc /tox.ini
parent2fe1c20f3cb20628af6b5d04d6073da9f2652af0 (diff)
downloadpytest-runner-4399038f2eab21f942a5462e0f5b1351e6203873.tar.gz
Only install and invoke pytest-black on Python 3
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini3
1 files changed, 2 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 8a3bf67..8fa7966 100644
--- a/tox.ini
+++ b/tox.ini
@@ -8,7 +8,8 @@ tox_pip_extensions_ext_venv_update = true
deps =
setuptools>=31.0.1
commands =
- pytest {posargs}
+ !py27: pytest --black {posargs}
+ py27: pytest {posargs}
usedevelop = True
extras = testing