Skip to content

Commit

Permalink
ci(pre-commit): update hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pivoshenko committed Jun 22, 2024
1 parent bdc5d69 commit 5ca1ac8
Showing 1 changed file with 24 additions and 14 deletions.
38 changes: 24 additions & 14 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,21 @@ default_language_version:

repos:
- repo: /~https://github.com/commitizen-tools/commitizen
rev: v3.25.0
rev: v3.27.0
hooks:
- id: commitizen
stages:
- commit-msg

- repo: /~https://github.com/asottile/pyupgrade
rev: v3.15.2
- repo: /~https://github.com/python-poetry/poetry
rev: 1.8.0
hooks:
- id: pyupgrade
- id: poetry-check

- repo: /~https://github.com/pycqa/isort
rev: 5.13.2
- repo: /~https://github.com/python-poetry/poetry
rev: 1.8.0
hooks:
- id: isort

- repo: /~https://github.com/psf/black
rev: 24.4.2
hooks:
- id: black
- id: poetry-lock

- repo: /~https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
Expand All @@ -36,6 +31,20 @@ repos:
- id: debug-statements
- id: check-docstring-first
- id: detect-private-key
- id: debug-statements
- id: pretty-format-json
args: [--autofix, --no-ensure-ascii, --no-sort-keys]
- id: trailing-whitespace

- repo: /~https://github.com/asottile/pyupgrade
rev: v3.16.0
hooks:
- id: pyupgrade

- repo: /~https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort

- repo: /~https://github.com/pre-commit/pygrep-hooks
rev: v1.10.0
Expand All @@ -46,14 +55,15 @@ repos:
- id: python-check-blanket-type-ignore

- repo: /~https://github.com/pre-commit/pre-commit
rev: v3.7.0
rev: v3.7.1
hooks:
- id: validate_manifest

- repo: /~https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.3
rev: v0.4.10
hooks:
- id: ruff
- id: ruff-format

- repo: /~https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
Expand Down

0 comments on commit 5ca1ac8

Please sign in to comment.