diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d1c2ef2..a8f5db4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,7 +12,7 @@ ci: repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.2 + rev: v0.8.1 hooks: - id: ruff args: diff --git a/docs/source/conf.py b/docs/source/conf.py index 7df3b1a..567807f 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -7,8 +7,9 @@ # (see LICENSE file at the root of this source code package). ' # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -from importlib.metadata import version from datetime import datetime +from importlib.metadata import version + # Configuration file for the Sphinx documentation builder. # @@ -51,13 +52,15 @@ html_theme = "alabaster" html_theme_options = { - 'description': f"version {release}", + "description": f"version {release}", } html_static_path = ["_static"] + def get_copyright_notice(): return f"Copyright {datetime.now().strftime(project_copyright)}" + rst_epilog = f""" .. |copyright_notice| replace:: {get_copyright_notice()}. """