Skip to content

Commit 401287d

Browse files
committed
Apply explicit_package_bases for mypy and unpin the version. Ref python/mypy#14057.
1 parent f999a53 commit 401287d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: mypy.ini

+3
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
[mypy]
22
ignore_missing_imports = True
3+
# required to support namespace packages
4+
# https://github.com/python/mypy/issues/14057
5+
explicit_package_bases = True

Diff for: setup.cfg

-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ testing =
4040
pytest-mypy >= 0.9.1; \
4141
# workaround for jaraco/skeleton#22
4242
python_implementation != "PyPy"
43-
# workaround for realpython/pytest-mypy#141
44-
mypy < 0.990
4543
pytest-enabler >= 1.3
4644

4745
# local

0 commit comments

Comments
 (0)