.pre-commit-config.yaml•1.04 kB
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-yaml
- id: check-added-large-files
- id: check-json
exclude: '^\.vscode/'
- id: check-toml
- id: check-merge-conflict
- id: detect-private-key
- id: check-docstring-first
- id: debug-statements
- repo: https://github.com/psf/black
rev: 25.1.0
hooks:
- id: black
language_version: python3.10
args: ['--line-length=88']
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.2
hooks:
- id: ruff
args: ['--fix', '--exit-non-zero-on-fix']
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.16.1
hooks:
- id: mypy
additional_dependencies: []
args: ['--config-file=pyproject.toml', '--ignore-missing-imports', 'src/']
pass_filenames: false
always_run: true