mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-05 01:17:39 +08:00
Enable redundant-self mypy error code (#11056)
This commit is contained in:
@@ -268,6 +268,8 @@ def run_mypy(
|
||||
"--allow-subclassing-any",
|
||||
"--enable-error-code",
|
||||
"ignore-without-code",
|
||||
"--enable-error-code",
|
||||
"redundant-self",
|
||||
"--config-file",
|
||||
temp.name,
|
||||
]
|
||||
|
||||
@@ -63,6 +63,8 @@ def run_mypy_as_subprocess(directory: str, platform: str, version: str) -> Retur
|
||||
"possibly-undefined",
|
||||
"--enable-error-code",
|
||||
"redundant-expr",
|
||||
"--enable-error-code",
|
||||
"redundant-self",
|
||||
"--custom-typeshed-dir",
|
||||
".",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user