-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
37 lines (33 loc) · 929 Bytes
/
.pre-commit-config.yaml
File metadata and controls
37 lines (33 loc) · 929 Bytes
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
37
repos:
- repo: https://github.com/python-poetry/poetry
rev: '2.2.1'
hooks:
- id: poetry-check
name: poetry check backend
args: ["-C", "packages/backend"]
- id: poetry-lock
name: poetry lock backend
args: ["-C", "packages/backend"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.13.2
hooks:
- id: ruff-check
name: ruff check backend
files: ^packages/backend/.*\.py$
- id: ruff-format
name: ruff format backend
args: [--check]
files: ^packages/backend/.*\.py$
- repo: https://github.com/adrienverge/yamllint
rev: v1.37.1
hooks:
- id: yamllint
- repo: local
hooks:
- id: pyright
name: pyright backend
entry: pyright
language: system
types: [python]
files: ^packages/backend/.*\.py$
args: ["--project", "packages/backend"]