Skip to content

Commit

Permalink
feat: Remove conditional import of importlib_metadata
Browse files Browse the repository at this point in the history
All supported Python versions come with the importlib.metadata package
and the required APIs in the standard library.
  • Loading branch information
mdomke committed Oct 14, 2024
1 parent 1a46b8e commit 5c91df5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions schwifty/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
try:
from importlib.metadata import version
except ImportError:
from importlib_metadata import version # type: ignore
from importlib.metadata import version

from schwifty.bban import BBAN
from schwifty.bic import BIC
Expand Down

0 comments on commit 5c91df5

Please sign in to comment.