Skip to content

Commit 4afa4a9

Browse files
committed
Disable pytest-black and pytest-mypy on PyPy. Fixes jaraco/skeleton#22. Ref pytest-dev/pytest#7675.
1 parent 0ea3efd commit 4afa4a9

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

pyproject.toml

+8
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,11 @@ build-backend = "setuptools.build_meta"
66
skip-string-normalization = true
77

88
[tool.setuptools_scm]
9+
10+
# jaraco/skeleton#22
11+
[tool.jaraco.pytest.opts.--black]
12+
action = "store_true"
13+
14+
# jaraco/skeleton#22
15+
[tool.jaraco.pytest.opts.--mypy]
16+
action = "store_true"

setup.cfg

+4-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ testing =
2626
pytest >= 3.5, !=3.7.3
2727
pytest-checkdocs >= 1.2.3
2828
pytest-flake8
29-
pytest-black >= 0.3.7
29+
pytest-black >= 0.3.7; python_implementation != "PyPy"
3030
pytest-cov
31-
pytest-mypy
31+
pytest-mypy; python_implementation != "PyPy"
32+
# jaraco/skeleton#22
33+
jaraco.test >= 3
3234

3335
# local
3436

0 commit comments

Comments
 (0)