mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-12 19:12:31 +08:00
Stricter settings in mypy_test (#9294)
This commit is contained in:
+5
-4
@@ -251,10 +251,11 @@ def get_mypy_flags(args: TestConfig, temp_name: str, *, testing_stdlib: bool) ->
|
||||
"--no-site-packages",
|
||||
"--custom-typeshed-dir",
|
||||
str(Path(__file__).parent.parent),
|
||||
"--no-implicit-optional",
|
||||
"--disallow-untyped-decorators",
|
||||
"--disallow-any-generics",
|
||||
"--strict-equality",
|
||||
"--strict",
|
||||
# Stub completion is checked by pyright (--allow-*-defs)
|
||||
"--allow-untyped-defs",
|
||||
"--allow-incomplete-defs",
|
||||
"--allow-subclassing-any", # Needed until we can use non-types dependencies #5768
|
||||
"--enable-error-code",
|
||||
"ignore-without-code",
|
||||
"--config-file",
|
||||
|
||||
Reference in New Issue
Block a user