| repos: | |
| - repo: https://github.com/astral-sh/ruff-pre-commit | |
| rev: v0.8.0 | |
| hooks: | |
| - id: ruff | |
| name: ruff (lint) | |
| args: [--fix, --exit-non-zero-on-fix] | |
| types_or: [python, pyi] | |
| - id: ruff-format | |
| name: ruff (format) | |
| types_or: [python, pyi] | |
| - repo: local | |
| hooks: | |
| - id: mypy | |
| name: mypy (typecheck) | |
| entry: uv run mypy | |
| language: system | |
| types: [python] | |
| args: [src/prolewiki_llm/] | |
| pass_filenames: false | |
| - repo: https://github.com/pre-commit/pre-commit-hooks | |
| rev: v5.0.0 | |
| hooks: | |
| - id: trailing-whitespace | |
| - id: end-of-file-fixer | |
| - id: check-yaml | |
| args: [--unsafe] | |
| - id: check-json | |
| - id: check-toml | |
| - id: check-added-large-files | |
| args: [--maxkb=5000] | |
| - id: check-merge-conflict | |
| - id: debug-statements | |
| - repo: https://github.com/adrienverge/yamllint.git | |
| rev: v1.35.1 | |
| hooks: | |
| - id: yamllint | |
| name: yamllint (yaml lint) | |
| args: [-c=.yamllint.yaml] | |