Skip to content

Commit 1935c6e

Browse files
committed
Apply explicit_package_bases for mypy and unpin the version. Ref python/mypy#14057.
1 parent 7c7ddb2 commit 1935c6e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

mypy.ini

Lines changed: 3 additions & 0 deletions
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

setup.cfg

Lines changed: 0 additions & 2 deletions
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)