Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ repos:
- id: check-useless-excludes
- repo: https://github.com/rbubley/mirrors-prettier
# keep it before yamllint
rev: v3.5.3
rev: v3.8.1
hooks:
- id: prettier
- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v9.0.1
rev: v9.8.0
hooks:
- id: cspell
# entry: codespell --relative
args: [--relative, --no-progress, --no-summary]
name: Spell check with cspell
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v5.0.0
rev: v6.0.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
Expand All @@ -36,32 +36,32 @@ repos:
- id: debug-statements
language_version: python3
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
rev: v2.4.2
hooks:
- id: codespell

additional_dependencies:
- tomli
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.37.1
rev: v1.38.0
hooks:
- id: yamllint
files: \.(yaml|yml)$
types: [file, yaml]
entry: yamllint --strict
- repo: https://github.com/pappasam/toml-sort
rev: v0.24.2
rev: v0.24.4
hooks:
- id: toml-sort-fix
alias: toml

- repo: https://github.com/tox-dev/tox-ini-fmt
rev: 1.5.0
rev: 1.7.1
hooks:
- id: tox-ini-fmt

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.12
rev: v0.15.9
hooks:
- id: ruff
args:
Expand All @@ -70,12 +70,12 @@ repos:
types_or: [python, pyi]
# - id: ruff-format # must be after ruff
# types_or: [python, pyi]
- repo: https://github.com/psf/black # must be after ruff
rev: 25.1.0
- repo: https://github.com/psf/black-pre-commit-mirror # must be after ruff
rev: 26.3.1
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.16.0
rev: v1.20.0
hooks:
- id: mypy
# empty args needed in order to match mypy cli behavior
Expand All @@ -84,14 +84,14 @@ repos:
- pytest>=6.1.2
- enrich>=1.2.5
- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.401
rev: v1.1.408
hooks:
- id: pyright
additional_dependencies:
- pytest>=6.1.2
- enrich>=1.2.5
- repo: https://github.com/pycqa/pylint
rev: v3.3.7
rev: v4.0.5
hooks:
- id: pylint
additional_dependencies:
Expand All @@ -100,7 +100,7 @@ repos:
- typing
- typing-extensions
- repo: https://github.com/jendrikseipp/vulture
rev: v2.14
rev: v2.16
hooks:
- id: vulture
- # keep at bottom as these are slower
Expand Down
Loading