diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 785c4c4..3778878 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ default_language_version: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-toml - id: check-xml @@ -19,22 +19,22 @@ repos: - id: check-added-large-files - id: check-docstring-first - - repo: https://github.com/psf/black - rev: 25.1.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.1.0 hooks: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.8 + rev: v0.14.13 hooks: - id: ruff - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.15.0 + rev: v1.19.1 hooks: - id: mypy - repo: https://github.com/asottile/pyupgrade - rev: v3.19.1 + rev: v3.21.2 hooks: - id: pyupgrade diff --git a/scripts/build.py b/scripts/build.py index 80dd42f..cf2a1dc 100644 --- a/scripts/build.py +++ b/scripts/build.py @@ -69,9 +69,7 @@ def update_404page_title(file_path: Path = cfg.SITE_PATH / "404.html") -> None: build_docs() update_404page_title() - print( - """ + print(""" Serve multi-language site at http://localhost:8000 with: python -m http.server --directory site 8000 --bind localhost - """ - ) + """)