Skip to content

Commit

Permalink
Don't need to import datetime.datetime unless type-checking
Browse files Browse the repository at this point in the history
  • Loading branch information
elliot-100 committed Apr 25, 2024
1 parent 3dce202 commit b66906a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spond/spond.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
#!/usr/bin/env python3
from __future__ import annotations

from datetime import datetime
from typing import TYPE_CHECKING

import aiohttp

if TYPE_CHECKING:
from datetime import datetime


class AuthenticationError(Exception):
pass
Expand Down

0 comments on commit b66906a

Please sign in to comment.