mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-07 18:30:57 +08:00
Use error codes for type ignores (#8280)
Disable reportSelfClsParameterName for pytype as this is out of typeshed's control Closes: #7497
This commit is contained in:
@@ -26,7 +26,8 @@ class Theme:
|
||||
junction_char: str = ...,
|
||||
junction_color: str = ...,
|
||||
) -> None: ...
|
||||
def format_code(s: str) -> str: ... # type: ignore
|
||||
# The following method is broken in upstream code.
|
||||
def format_code(s: str) -> str: ... # type: ignore[misc]
|
||||
|
||||
class Themes:
|
||||
DEFAULT: ClassVar[Theme]
|
||||
|
||||
Reference in New Issue
Block a user