Skip to content

Commit 1b43121

Browse files
committed
Use solution for unused-ignore
python/mypy#8823
1 parent 23c5c02 commit 1b43121

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dfetch/manifest/manifest.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -340,12 +340,12 @@ class ManifestDumper(yaml.SafeDumper): # pylint: disable=too-many-ancestors
340340

341341
def write_line_break(self, data: Any = None) -> None:
342342
"""Write a line break."""
343-
super().write_line_break(data) # type: ignore
343+
super().write_line_break(data) # type: ignore[unused-ignore]
344344

345345
if len(self.indents) == 2 and getattr(self.event, "value", "") != "version":
346-
super().write_line_break() # type: ignore
346+
super().write_line_break() # type: ignore[unused-ignore]
347347

348348
if len(self.indents) == 3 and self._last_additional_break != 2:
349-
super().write_line_break() # type: ignore
349+
super().write_line_break() # type: ignore[unused-ignore]
350350

351351
self._last_additional_break = len(self.indents)

0 commit comments

Comments
 (0)