mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-12 19:12:31 +08:00
Check for unused pyright: ignore and differentiate from mypy ignores (#9397)
This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
"test_cases",
|
||||
],
|
||||
"typeCheckingMode": "strict",
|
||||
// Using unspecific "type ignore" comments in test_cases.
|
||||
// See https://github.com/python/typeshed/pull/8083
|
||||
"enableTypeIgnoreComments": true,
|
||||
"reportPropertyTypeMismatch": "error",
|
||||
"reportUnnecessaryTypeIgnoreComment": "error",
|
||||
"reportMissingModuleSource": "none",
|
||||
|
||||
Reference in New Issue
Block a user