Skip to content

Commit da8f032

Browse files
committed
MyPy errors
1 parent f4ae37b commit da8f032

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/basilisp/lang/runtime.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,7 +1345,7 @@ def nth(coll, i: int, notfound=__nth_sentinel):
13451345

13461346
@nth.register(type(None))
13471347
def _nth_none(_: None, i: int, notfound=__nth_sentinel) -> None:
1348-
return notfound if notfound is not __nth_sentinel else None
1348+
return notfound if notfound is not __nth_sentinel else None # type: ignore[return-value]
13491349

13501350

13511351
@nth.register(Sequence)
@@ -2108,7 +2108,7 @@ def wrap_class(cls: type):
21082108
continue
21092109

21102110
if is_abstract(interface):
2111-
interface_names: frozenset[str] = interface.__abstractmethods__ # type: ignore[attr-definedm]
2111+
interface_names: frozenset[str] = interface.__abstractmethods__ # type: ignore[attr-defined]
21122112
interface_property_names: frozenset[str] = frozenset(
21132113
method
21142114
for method in interface_names

0 commit comments

Comments
 (0)