27 lines
597 B
YAML
27 lines
597 B
YAML
default_language_version:
|
|
python: python3.13
|
|
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.3.0
|
|
hooks:
|
|
- id: check-added-large-files
|
|
args: ["--maxkb=2048"]
|
|
- id: check-yaml
|
|
- id: check-docstring-first
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: ruff
|
|
name: ruff
|
|
entry: uv run ruff check .
|
|
language: system
|
|
types: [python]
|
|
always_run: true
|
|
|
|
- id: pytest
|
|
name: pytest
|
|
entry: uv run pytest tests/ -v
|
|
language: system
|
|
pass_filenames: false
|
|
always_run: true |