From 62a94e21eecdb92ce241c506b7428c9158d0b649 Mon Sep 17 00:00:00 2001 From: martibosch Date: Mon, 9 Sep 2024 06:31:13 +0000 Subject: [PATCH] build: auto-update pre-commit hooks --- .pre-commit-config.yaml | 12 ++++++------ .../.pre-commit-config.yaml | 18 +++++++++--------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 474ff0a..736ba9d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,36 +4,36 @@ default_language_version: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-toml - repo: https://github.com/adrienverge/yamllint.git - rev: v1.33.0 + rev: v1.35.1 hooks: - id: yamllint exclude: "{{ cookiecutter.repo_name }}/environment.yml" - repo: https://github.com/commitizen-tools/commitizen - rev: v3.13.0 + rev: v3.29.0 hooks: - id: commitizen - repo: https://github.com/tox-dev/tox-ini-fmt - rev: 1.3.1 + rev: 1.3.2 hooks: - id: tox-ini-fmt - repo: https://github.com/pre-commit/mirrors-prettier - rev: v4.0.0-alpha.4 + rev: v4.0.0-alpha.8 hooks: - id: prettier exclude: "{{ cookiecutter.repo_name }}/environment.yml" - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.27.3 + rev: 0.29.2 hooks: - id: check-github-workflows diff --git a/{{ cookiecutter.repo_name }}/.pre-commit-config.yaml b/{{ cookiecutter.repo_name }}/.pre-commit-config.yaml index 4f1d066..6783de5 100644 --- a/{{ cookiecutter.repo_name }}/.pre-commit-config.yaml +++ b/{{ cookiecutter.repo_name }}/.pre-commit-config.yaml @@ -2,19 +2,19 @@ default_stages: [commit] repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - repo: https://github.com/commitizen-tools/commitizen - rev: v3.13.0 + rev: v3.29.0 hooks: - id: commitizen - repo: https://github.com/adrienverge/yamllint.git - rev: v1.33.0 + rev: v1.35.1 hooks: - id: yamllint args: ["-d relaxed"] @@ -29,34 +29,34 @@ repos: - mdformat-black - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.27.3 + rev: 0.29.2 hooks: - id: check-github-workflows - repo: https://github.com/asottile/pyupgrade - rev: v3.15.0 + rev: v3.17.0 hooks: - id: pyupgrade - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.1.7 + rev: v0.6.4 hooks: - id: ruff-format - id: ruff - repo: https://github.com/kynan/nbstripout - rev: 0.6.1 + rev: 0.7.1 hooks: - id: nbstripout args: ["--keep-output"] - repo: https://github.com/nbQA-dev/nbQA - rev: 1.7.1 + rev: 1.8.7 hooks: - id: nbqa-black - id: nbqa-ruff - repo: https://github.com/snakemake/snakefmt - rev: v0.8.5 + rev: v0.10.2 hooks: - id: snakefmt