Skip to content

Commit

Permalink
Removes Style.SemVer call during serialize
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaroberts committed Feb 20, 2024
1 parent afdb564 commit a90cbc3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nii2dcm/_version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import dunamai as _dunamai
from dunamai import Version, Style

Check warning on line 2 in nii2dcm/_version.py

View workflow job for this annotation

GitHub Actions / Build (ubuntu-latest, 3.9)

F401 'dunamai.Version' imported but unused

Check warning on line 2 in nii2dcm/_version.py

View workflow job for this annotation

GitHub Actions / Build (ubuntu-latest, 3.9)

F401 'dunamai.Style' imported but unused
__version__ = _dunamai.get_version(
"nii2dcm", third_choice=_dunamai.Version.from_any_vcs
).serialize(metadata=False, style=Style.SemVer)
__version__ = _dunamai.get_version("nii2dcm", third_choice=_dunamai.Version.from_any_vcs).serialize()

Check warning on line 3 in nii2dcm/_version.py

View workflow job for this annotation

GitHub Actions / Build (ubuntu-latest, 3.9)

W292 no newline at end of file

0 comments on commit a90cbc3

Please sign in to comment.