summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pytest.ini2
-rw-r--r--setup.cfg2
-rw-r--r--tox.ini3
3 files changed, 3 insertions, 4 deletions
diff --git a/pytest.ini b/pytest.ini
index 9b3c1ec..10681ad 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -1,6 +1,6 @@
[pytest]
norecursedirs=dist build .tox .eggs
-addopts=--doctest-modules --flake8
+addopts=--doctest-modules --flake8 --black
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
filterwarnings=
ignore:Possible nested set::pycodestyle:113
diff --git a/setup.cfg b/setup.cfg
index 235303f..9345869 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -29,7 +29,7 @@ testing =
pytest >= 3.5, !=3.7.3
pytest-checkdocs
pytest-flake8
- pytest-black; python_version >= "3"
+ pytest-black-multipy
# local
diff --git a/tox.ini b/tox.ini
index 8fa7966..8a3bf67 100644
--- a/tox.ini
+++ b/tox.ini
@@ -8,8 +8,7 @@ tox_pip_extensions_ext_venv_update = true
deps =
setuptools>=31.0.1
commands =
- !py27: pytest --black {posargs}
- py27: pytest {posargs}
+ pytest {posargs}
usedevelop = True
extras = testing