We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7aa5bd0 commit a93fa61Copy full SHA for a93fa61
tests/mypy_test.py
@@ -132,6 +132,10 @@ def main():
132
flags.append("--no-implicit-optional")
133
flags.append("--disallow-any-generics")
134
flags.append("--disallow-subclassing-any")
135
+ # Setting custom typeshed dir prevents mypy from falling back to its bundled typeshed in
136
+ # case of stub deletions
137
+ flags.append("--custom-typeshed-dir")
138
+ flags.append(os.path.dirname(os.path.dirname(__file__)))
139
if args.warn_unused_ignores:
140
flags.append("--warn-unused-ignores")
141
if args.platform:
0 commit comments