Add mypy error codes to '# type: ignore' comments (#6379)

This commit is contained in:
Akuli authored and GitHub committed 2021-11-26 07:07:56 +01:00
1 parent 1278fa86e2
commit a5bc1e037f
74 files changed
+218 -202

No files matched your search

+1 -1
View File
@@ -11,4 +11,4 @@ def removeResult(result: unittest.result.TestResult) -> bool: ...
@overload
def removeHandler(method: None = ...) -> None: ...
@overload
def removeHandler(method: Callable[_P, _T]) -> Callable[_P, _T]: ... # type: ignore
def removeHandler(method: Callable[_P, _T]) -> Callable[_P, _T]: ... # type: ignore[misc]