Skip to content

Commit

Permalink
chore(ruff): f-string formatting fixes from ruff 0.4.2
Browse files Browse the repository at this point in the history
ruff check --select ALL . --fix --unsafe-fixes --preview --show-fixes; ruff format .

Fixed 2 errors:
- docs/conf.py:
    2 × UP031 (printf-string-formatting)
  • Loading branch information
tony committed Apr 27, 2024
1 parent cd36d4d commit 7865647
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Expand Up @@ -55,8 +55,8 @@
project = about["__title__"]
project_copyright = about["__copyright__"]

version = "%s" % (".".join(about["__version__"].split("."))[:2])
release = "%s" % (about["__version__"])
version = "{}".format(".".join(about["__version__"].split("."))[:2])
release = "{}".format(about["__version__"])

exclude_patterns = ["_build"]

Expand Down

0 comments on commit 7865647

Please sign in to comment.