Recommend to use mypy error codes if applicable (#6305)

This commit is contained in:
Sebastian Rittau
2021-11-18 06:58:05 +01:00
committed by GitHub
parent ccc09aa196
commit 77810277d5
3 changed files with 16 additions and 13 deletions

View File

@@ -207,6 +207,7 @@ def get_mypy_flags(args, major: int, minor: int, temp_name: str, *, custom_types
"--no-implicit-optional",
"--disallow-any-generics",
"--warn-incomplete-stub",
"--show-error-codes",
"--no-error-summary",
]
if custom_typeshed: