32 lines
736 B
YAML
32 lines
736 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- id: check-added-large-files
|
|
- id: check-yaml
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: ruff-check
|
|
name: ruff check
|
|
entry: uv run ruff check --fix
|
|
language: system
|
|
types_or: [python, pyi]
|
|
require_serial: true
|
|
|
|
- id: ruff-format
|
|
name: ruff format
|
|
entry: uv run ruff format
|
|
language: system
|
|
types_or: [python, pyi]
|
|
require_serial: true
|
|
|
|
- id: mypy
|
|
name: mypy
|
|
entry: uv run mypy src
|
|
language: system
|
|
pass_filenames: false
|
|
require_serial: true
|