Check for unused pyright: ignore and differentiate from mypy ignores (#9397)

This commit is contained in:
Avasam authored and GitHub committed 2022-12-28 10:44:29 +00:00
1 parent 07f587dc70
commit 23ac9bff19
17 files changed
+44 -21

No files matched your search

@@ -14,7 +14,8 @@ class DebugDocumentProvider(gateways.DebugDocumentProvider):
def GetDocument(self): ...
# error: Cannot determine consistent method resolution order (MRO) for "DebugDocumentText"
class DebugDocumentText(gateways.DebugDocumentInfo, gateways.DebugDocumentText, gateways.DebugDocument): # type: ignore[misc]
# pyright doesn't have a specific error code for MRO error!
class DebugDocumentText(gateways.DebugDocumentInfo, gateways.DebugDocumentText, gateways.DebugDocument): # type: ignore[misc] # pyright: ignore
codeContainer: Incomplete
def __init__(self, codeContainer) -> None: ...
def GetName(self, dnt): ...