Skip to content

Commit 1753b0a

Browse files
committed
ci: Ignore unused type ignore comments
1 parent 62cfc22 commit 1753b0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def _yield_public_objects(
5050
if modules:
5151
yield member
5252
yield from _yield_public_objects(
53-
member, # type: ignore[arg-type]
53+
member, # type: ignore[arg-type,unused-ignore]
5454
modules=modules,
5555
modulelevel=modulelevel,
5656
inherited=inherited,
@@ -62,7 +62,7 @@ def _yield_public_objects(
6262
continue
6363
if member.is_class and not modulelevel:
6464
yield from _yield_public_objects(
65-
member, # type: ignore[arg-type]
65+
member, # type: ignore[arg-type,unused-ignore]
6666
modules=modules,
6767
modulelevel=False,
6868
inherited=inherited,

0 commit comments

Comments
 (0)