diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 94cfad78..73e4f1d7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -43,7 +43,7 @@ repos: exclude: ^\.bumpversion\.cfg$ - repo: https://github.com/python-jsonschema/check-jsonschema.git - rev: 0.34.1 + rev: 0.35.0 hooks: - id: check-github-actions - id: check-github-workflows @@ -55,12 +55,12 @@ repos: - id: check-readthedocs - repo: https://github.com/rhysd/actionlint - rev: v1.7.8 + rev: v1.7.9 hooks: - id: actionlint - repo: https://github.com/kynan/nbstripout - rev: 0.8.1 + rev: 0.8.2 hooks: - id: nbstripout @@ -81,7 +81,7 @@ repos: # mdformat is not enabled by default, but can be run manually with: # pre-commit run mdformat --all-files --hook-stage manual - repo: https://github.com/executablebooks/mdformat - rev: 1.0.0 + rev: 0.7.22 # blocked by https://github.com/executablebooks/mdformat-myst/issues/45 hooks: - id: mdformat stages: [ manual ] @@ -104,7 +104,7 @@ repos: additional_dependencies: [setuptools-scm] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.1 + rev: v0.14.6 hooks: - id: ruff-format - id: ruff diff --git a/docs/reference/changelog.md b/docs/reference/changelog.md index 45af126a..ca9695e3 100644 --- a/docs/reference/changelog.md +++ b/docs/reference/changelog.md @@ -10,6 +10,7 @@ Unreleased changes - Bump actions/download-artifact from 5 to 6 ({gh-pr}`354`) - Bump actions/upload-artifact from 4 to 5 ({gh-pr}`353`) - Bump sigstore/gh-action-sigstore-python from 3.0.1 to 3.1.0 ({gh-pr}`352`) +- pre-commit autoupdate ({gh-pr}`355`) - pre-commit autoupdate ({gh-pr}`350`) --- diff --git a/tox.ini b/tox.ini index a9c200f0..721c6ec4 100644 --- a/tox.ini +++ b/tox.ini @@ -65,8 +65,9 @@ deps = pre-commit commands = all: pre-commit run --all-files --show-diff-on-failure {posargs:} quick: pre-commit run ruff-format --all-files - pre-commit run ruff --all-files + quick: pre-commit run ruff --all-files autoupgrade: pre-commit autoupdate {posargs:} + autoupgrade: pre-commit run --all-files --show-diff-on-failure [testenv:typing] description = run type checks @@ -85,7 +86,7 @@ commands = make clean-docs live: make --directory=docs livehtml static: make --directory=docs html - python "cicd_utils/cicd/scripts/open_in_browser.py" "docs/_build/html/index.html" + static: python "cicd_utils/cicd/scripts/open_in_browser.py" "docs/_build/html/index.html" [testenv:release-notes] description = extract release notes from docs/reference/changelog.md