Skip to content

Commit b8a807e

Browse files
committed
I guess black formats type comments now?
This commit was sponsored by Blaise Pabon, and my other patrons. If you want to join them, you can support my work at https://glyph.im/patrons/.
1 parent 55bba71 commit b8a807e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/datetype/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ def combine(
521521
tzinfo = time.tzinfo
522522
return _datetime.combine(
523523
concrete(date), concrete(time), tzinfo
524-
) # type:ignore[return-value]
524+
) # type: ignore[return-value]
525525

526526
else:
527527

@@ -603,7 +603,7 @@ def aware(
603603
else:
604604
# tzinfo works just fine with isinstance checks, which is why we care
605605
# about matching against type[...] here, so we can cast it away safely
606-
tzcheck = _tzinfo # type:ignore
606+
tzcheck = _tzinfo # type: ignore
607607
if not isinstance(t.tzinfo, tzcheck):
608608
raise TypeError(f"{t} is naive, not aware")
609609
return t # type: ignore[return-value]

0 commit comments

Comments
 (0)