Skip to content

Commit

Permalink
Merge pull request #795 from WhyNotHugo/mypy
Browse files Browse the repository at this point in the history
Fix mypy issue in `docs/conf.py`
  • Loading branch information
linozen authored Jul 18, 2023
2 parents dba48d9 + 6450a9a commit dc94fec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#
import os
import sys
from importlib.metadata import PackageNotFoundError, version
from importlib.metadata import PackageNotFoundError, version as get_version
from shutil import copyfile

sys.path.insert(0, os.path.abspath("../src/"))
Expand Down Expand Up @@ -73,7 +73,7 @@

try:
# The full version, including alpha/beta/rc tags.
release = version("reuse")
release = get_version("reuse")
except PackageNotFoundError:
release = "2.0.0"

Expand Down Expand Up @@ -126,7 +126,7 @@

# -- Options for LaTeX output ---------------------------------------------

latex_elements = {
latex_elements: dict = {
# The paper size ('letterpaper' or 'a4paper').
#
# 'papersize': 'letterpaper',
Expand Down

0 comments on commit dc94fec

Please sign in to comment.