Skip to content

Commit

Permalink
Merge pull request #14 from zfit/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
chore: update pre-commit hooks
  • Loading branch information
jonas-eschle authored Jan 7, 2025
2 parents cae923d + c5a2024 commit ce093ec
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ci:

repos:
- repo: https://github.com/adamchainz/blacken-docs
rev: "1.16.0"
rev: "1.19.1"
hooks:
- id: blacken-docs
additional_dependencies: [black==23.*]
Expand All @@ -17,14 +17,14 @@ repos:
args: ["--futures=true"]

- repo: https://github.com/asottile/pyupgrade
rev: v3.15.2
rev: v3.19.1
hooks:
- id: pyupgrade
args: [--py310-plus]

# Notebook formatting
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.8.5
rev: 1.9.1
hooks:
- id: nbqa-isort
additional_dependencies: [isort]
Expand All @@ -34,7 +34,7 @@ repos:
args: [--py310-plus]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.6.0"
rev: "v5.0.0"
hooks:
- id: check-added-large-files
args: ["--maxkb=1000"]
Expand Down Expand Up @@ -75,14 +75,14 @@ repos:
args: [--prose-wrap=always]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.4.1"
rev: "v0.8.6"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
- id: ruff-format

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.9.0"
rev: "v1.14.1"
hooks:
- id: mypy
files: src|tests
Expand All @@ -91,7 +91,7 @@ repos:
- pytest

- repo: https://github.com/codespell-project/codespell
rev: "v2.2.6"
rev: "v2.3.0"
hooks:
- id: codespell

Expand All @@ -109,13 +109,13 @@ repos:
exclude: .pre-commit-config.yaml

- repo: https://github.com/abravalheri/validate-pyproject
rev: "v0.16"
rev: "v0.23"
hooks:
- id: validate-pyproject
additional_dependencies: ["validate-pyproject-schema-store[all]"]

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: "0.28.2"
rev: "0.30.0"
hooks:
- id: check-dependabot
- id: check-github-workflows
Expand All @@ -139,12 +139,12 @@ repos:
--,
]
- repo: https://github.com/kynan/nbstripout
rev: 0.7.1
rev: 0.8.1
hooks:
- id: nbstripout

- repo: https://github.com/MarcoGorelli/auto-walrus
rev: 0.3.3
rev: 0.3.4
hooks:
- id: auto-walrus

Expand All @@ -155,7 +155,7 @@ repos:
# - id: oxipng

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.4.1"
rev: "v0.8.6"
hooks:
- id: ruff
types_or: [python, pyi, jupyter]
Expand Down

0 comments on commit ce093ec

Please sign in to comment.