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 ]