Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 28, 2024
1 parent 68591a4 commit 931cd45
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pushsource/_impl/compat_attr.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import attr

# importlib.metadata is available for py3.8 and higher
# previous versions get it from importlib_metadata installed
# from importlib-metadata
try:
from importlib.metadata import version
from importlib.metadata import version
except ImportError: # pragma: no cover
from importlib_metadata import version
from importlib_metadata import version


# Wrappers for attr module to deal with some incompatibilities between versions
Expand Down

0 comments on commit 931cd45

Please sign in to comment.