Skip to content

Commit

Permalink
Fix ruff UP031 (printf-string-formatting) error in docs/conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mitya57 committed Dec 8, 2024
1 parent 5feb95d commit 5f4f11f
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 @@ -33,12 +33,12 @@
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
from markups import __version_tuple__ # noqa: E402
from markups import __version__, __version_tuple__ # noqa: E402

# The short X.Y version.
version = '%d.%d' % __version_tuple__[:2]
version = '{}.{}'.format(*__version_tuple__)
# The full version, including alpha/beta/rc tags.
release = '%d.%d.%d' % __version_tuple__
release = __version__

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
Expand Down

0 comments on commit 5f4f11f

Please sign in to comment.