mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 21:15:17 +08:00
Add mypy error codes to '# type: ignore' comments (#6379)
This commit is contained in:
1 parent
1278fa86e2
commit
a5bc1e037f
74 files changed
+218
-202
No files matched your search
@@ -36,7 +36,7 @@ class TimezoneComponent(Component):
|
||||
normal_attributes: Any
|
||||
@staticmethod
|
||||
def pickTzid(tzinfo, allowUTC: bool = ...): ...
|
||||
def prettyPrint(self, level, tabwidth) -> None: ... # type: ignore
|
||||
def prettyPrint(self, level, tabwidth) -> None: ... # type: ignore[override]
|
||||
|
||||
class RecurringComponent(Component):
|
||||
isNative: bool
|
||||
|
||||
@@ -78,7 +78,7 @@ class Photo(VCardTextBehavior):
|
||||
@classmethod
|
||||
def valueRepr(cls, line): ...
|
||||
@classmethod
|
||||
def serialize(cls, obj, buf, lineLength, validate) -> None: ... # type: ignore
|
||||
def serialize(cls, obj, buf, lineLength, validate) -> None: ... # type: ignore[override]
|
||||
|
||||
def toListOrString(string): ...
|
||||
def splitFields(string): ...
|
||||
|
||||
Reference in new issue
Block a user