Skip to content

Commit

Permalink
ignore type checking on importlib metadata try/except; see python/myp…
Browse files Browse the repository at this point in the history
  • Loading branch information
thesofakillers committed Jan 14, 2022
1 parent 99af7fd commit 47baa5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion badseeds/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
try:
import importlib.metadata as importlib_metadata
except ModuleNotFoundError:
import importlib_metadata
import importlib_metadata # type: ignore

__version__ = importlib_metadata.version(__name__)

0 comments on commit 47baa5d

Please sign in to comment.