Skip to content

Commit

Permalink
Re-enable mypy and doctests by relying on import-mode importlib
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Dec 23, 2023
1 parent 504499f commit ad24708
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 3 additions & 2 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[pytest]
norecursedirs=dist build .tox .eggs
# doctests disabled due to pytest-dev/pytest#3396
# addopts=--doctest-modules
addopts=
--doctest-modules
--import-mode importlib
filterwarnings=
## upstream

Expand Down
7 changes: 3 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,9 @@ testing =
pytest >= 6
pytest-checkdocs >= 2.4
pytest-cov
# disable mypy due to pytest-dev/pytest#3396
#pytest-mypy; \
# # workaround for jaraco/skeleton#22
# python_implementation != "PyPy"
pytest-mypy; \
# workaround for jaraco/skeleton#22
python_implementation != "PyPy"
pytest-enabler >= 2.2
pytest-ruff >= 0.2.1

Expand Down

0 comments on commit ad24708

Please sign in to comment.