pydantic model generator for atproto lexicons
1fail_fast: false
2
3repos:
4 - repo: https://github.com/abravalheri/validate-pyproject
5 rev: v0.24.1
6 hooks:
7 - id: validate-pyproject
8
9 - repo: https://github.com/astral-sh/ruff-pre-commit
10 rev: v0.12.1
11 hooks:
12 - id: ruff-check
13 args: [--fix, --exit-non-zero-on-fix]
14 - id: ruff-format
15
16 - repo: local
17 hooks:
18 - id: type-check
19 name: type check
20 entry: uv run ty check
21 language: system
22 types: [python]
23 pass_filenames: false
24
25 - repo: https://github.com/pre-commit/pre-commit-hooks
26 rev: v6.0.0
27 hooks:
28 - id: no-commit-to-branch
29 name: prevent commits to main
30 args: [--branch, main]