Skip to content

Commit

Permalink
updating pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm committed Dec 30, 2024
1 parent cae6e1c commit 05fbfc8
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v5.0.0
hooks:
- id: check-toml
- id: end-of-file-fixer
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: 23.7.0
hooks:
- id: black

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.0.286'
rev: 'v0.8.4'
hooks:
- id: ruff
args: [ --fix, --exit-non-zero-on-fix ]

- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.35.0
rev: v0.43.0
hooks:
- id: markdownlint-fix
args: [ "--ignore", "book/**/*.md" ]

- repo: https://github.com/asottile/pyupgrade
rev: v3.10.1
rev: v3.19.1
hooks:
- id: pyupgrade

Expand All @@ -36,21 +31,15 @@ repos:
args: [ --strict, --ignore-missing-imports, --explicit-package-bases ]

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.26.3
rev: 0.30.0
hooks:
- id: check-dependabot
args: ["--verbose"]
- id: check-github-workflows
args: ["--verbose"]

#- repo: https://github.com/python-poetry/poetry
# rev: '1.6.1' # add version here
# hooks:
# - id: poetry-check
# - id: poetry-lock

- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.4
rev: v1.5.5
hooks:
- id: insert-license
files: ^(cvx)
Expand Down

0 comments on commit 05fbfc8

Please sign in to comment.