Skip to content

Commit b8dfdd7

Browse files
committed
Is mypy follow_untyped_imports in metadata.toml still needed ?
1 parent 8e5fa13 commit b8dfdd7

2 files changed

Lines changed: 0 additions & 12 deletions

File tree

stubs/fanstatic/METADATA.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
11
version = "1.7.*"
22
upstream-repository = "https://github.com/zopefoundation/fanstatic"
33
dependencies = ["types-WebOb", "types-setuptools"]
4-
5-
# When ran directly on our stubs, mypy won't understand that they are partial
6-
# This is not an issue with pyright because it understands per-module py.typed (setuptools/_distutils/py.typed)
7-
[mypy-tests.distutils]
8-
module-name = "setuptools._distutils.*"
9-
values = { "follow_untyped_imports" = true }

stubs/setuptools/METADATA.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@ dependencies = ["setuptools"] # For setuptools._distutils
99
# Type-checkers should not skip it just because `types-setuptools` is installed.
1010
partial-stub = true
1111

12-
# When ran directly on our stubs, mypy won't understand that they are partial
13-
# This is not an issue with pyright because it understands per-module py.typed (setuptools/_distutils/py.typed)
14-
[mypy-tests.distutils]
15-
module-name = "setuptools._distutils.*"
16-
values = { "follow_untyped_imports" = true }
17-
1812
[tool.stubtest]
1913
# darwin is equivalent to linux for OS-specific methods
2014
ci-platforms = ["linux", "win32"]

0 commit comments

Comments
 (0)