diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index db0b06e..8195ede 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,26 +1,26 @@ -default_stages: [commit] +default_stages: [pre-commit] repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.0.1 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - repo: https://github.com/commitizen-tools/commitizen - rev: v2.37.0 + rev: v4.1.0 hooks: - id: commitizen - repo: https://github.com/adrienverge/yamllint.git - rev: v1.26.3 + rev: v1.35.1 hooks: - id: yamllint args: ["-d relaxed"] - repo: https://github.com/executablebooks/mdformat - rev: 0.7.14 # Use the ref you want to point at + rev: 0.7.21 # Use the ref you want to point at hooks: - id: mdformat # Optionally add plugins @@ -29,38 +29,38 @@ repos: - mdformat-black - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.18.4 + rev: 0.30.0 hooks: - id: check-github-workflows - repo: https://github.com/asottile/pyupgrade - rev: v2.37.2 + rev: v3.19.1 hooks: - id: pyupgrade - repo: https://github.com/psf/black - rev: 22.6.0 + rev: 24.10.0 hooks: - id: black - - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.0.225 + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.8.6 hooks: - id: ruff - repo: https://github.com/kynan/nbstripout - rev: 0.5.0 + rev: 0.8.1 hooks: - id: nbstripout args: ["--keep-output"] - repo: https://github.com/nbQA-dev/nbQA - rev: 1.6.1 + rev: 1.9.1 hooks: - id: nbqa-black - id: nbqa-ruff - repo: https://github.com/snakemake/snakefmt - rev: v0.6.0 + rev: v0.10.2 hooks: - id: snakefmt