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

This commit is contained in:
Akuli
2021-11-26 07:07:56 +01:00
committed by GitHub
parent 1278fa86e2
commit a5bc1e037f
74 changed files with 218 additions and 202 deletions
+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]