Skip to content

Commit

Permalink
refactor: 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 May 23, 2024
1 parent 9391ef2 commit 187bbc9
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 datetime import datetime
from typing import List, Optional
from typing import TYPE_CHECKING, List, Optional

import aiohttp

if TYPE_CHECKING:
from datetime import datetime


class AuthenticationError(Exception):
pass
Expand Down

0 comments on commit 187bbc9

Please sign in to comment.