Move ruff to 0.12.2 and fix new complaints

This commit is contained in:
boxydog 2025-07-04 14:44:04 -05:00
commit 4dedf17958
21 changed files with 64 additions and 102 deletions

View file

@ -41,7 +41,7 @@ version = ".".join(release.split(".")[:1])
last_stable = project_data.get("version")
rst_prolog = f"""
.. |last_stable| replace:: :pelican-doc:`{last_stable}`
.. |min_python| replace:: {project_data.get('requires-python').split(",")[0]}
.. |min_python| replace:: {project_data.get("requires-python").split(",")[0]}
"""
extlinks = {"pelican-doc": ("https://docs.getpelican.com/en/latest/%s.html", "%s")}