Skip to content

Commit 30abe16

Browse files
committed
more ruff fixes
1 parent 3ca3601 commit 30abe16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
version_ns = {}
110110
exec(compile(open(_version_py).read(), _version_py, "exec"), version_ns) # noqa: S102, SIM115
111111
# The short X.Y version.
112-
version = "%i.%i" % version_ns["version_info"][:2]
112+
version = "{}.{}".format(*version_ns["version_info"][:2])
113113
# The full version, including alpha/beta/rc tags.
114114
release = version_ns["__version__"]
115115

0 commit comments

Comments
 (0)