halig/.pre-commit-config.yaml
cătălin d7bf338d96
Some checks failed
checks / tests-10 (push) Failing after 2m45s
checks / pre-commit (push) Successful in 3m51s
checks / tests-11 (push) Failing after 2m22s
checks / tests-12 (push) Failing after 2m7s
chore: update deps
2024-09-07 16:26:15 +02:00

44 lines
989 B
YAML

files: ^halig|tests$
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
args: [ --markdown-linebreak-ext=md ]
- id: end-of-file-fixer
- id: check-ast
- id: check-added-large-files
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-docstring-first
- id: check-merge-conflict
- id: check-toml
- id: debug-statements
- id: mixed-line-ending
args: [ --fix=lf ]
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.6.4
hooks:
- id: ruff
args:
- --fix
- --exit-non-zero-on-fix
- id: ruff-format
- repo: local
hooks:
- id: mypy
name: mypy
entry: pdm run mypy
language: system
types: [ python ]
- id: pyright
name: pyright
entry: pdm run pyright
language: system
types: [ python ]