-
Notifications
You must be signed in to change notification settings - Fork 197
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
36 lines (36 loc) · 1.07 KB
/
.pre-commit-config.yaml
File metadata and controls
36 lines (36 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
repos:
- repo: local
hooks:
- id: ban-title-case-atopile
name: ban-title-case-atopile
entry: '\bAtopile\b'
language: pygrep
types: [text]
exclude: >-
(?x)^(
\.pre-commit-config\.yaml|
test/runner/report\.html|
src/ui-server/src/types/schema\.json|
src/ui-server/src/types/generated\.ts|
src/ui-server/src/types/gen/schema\.json|
src/ui-server/src/types/gen/generated\.ts
)$
- id: generate-library-init
name: Generate library init
entry: tools/library/gen_F.py
language: python
files: src/faebryk/library/.*.py
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.14.14
hooks:
- id: ruff
# generated by ANTLR4
exclude: src/atopile/compiler/parser/.*.py
- id: ruff-format
# generated by ANTLR4
exclude: src/atopile/compiler/parser/.*.py
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.9.28
hooks:
- id: uv-lock