Skip to content

Commit

Permalink
Fixed mypy error
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Feb 18, 2024
1 parent 905b27d commit 01fd1a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
from importlib.metadata import version
import importlib.metadata

from packaging.version import parse

Expand All @@ -17,7 +17,7 @@
author = "Alex Grönholm"
copyright = "2015, " + author

v = parse(version(project))
v = parse(importlib.metadata.version(project))
version = v.base_version
release = v.public

Expand Down

0 comments on commit 01fd1a1

Please sign in to comment.