Skip to content

Commit

Permalink
build: auto-update pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
martibosch authored Apr 15, 2024
1 parent c14949c commit 6c9ec8b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ 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.22.0
hooks:
- id: commitizen

Expand All @@ -27,13 +27,13 @@ repos:
- 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.28.2
hooks:
- id: check-github-workflows

Expand Down
18 changes: 9 additions & 9 deletions {{ cookiecutter.repo_name }}/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.22.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"]
Expand All @@ -29,34 +29,34 @@ repos:
- mdformat-black

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.27.3
rev: 0.28.2
hooks:
- id: check-github-workflows

- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.15.2
hooks:
- id: pyupgrade

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.1.7
rev: v0.3.7
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.5
hooks:
- id: nbqa-black
- id: nbqa-ruff

- repo: https://github.com/snakemake/snakefmt
rev: v0.8.5
rev: v0.10.1
hooks:
- id: snakefmt

0 comments on commit 6c9ec8b

Please sign in to comment.