-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
38 lines (37 loc) · 939 Bytes
/
.pre-commit-config.yaml
File metadata and controls
38 lines (37 loc) · 939 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
38
default_install_hook_types:
- pre-commit
- post-checkout
- post-merge
repos:
- 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
- id: check-added-large-files
args:
- --maxkb=50000
- id: check-json
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.13
hooks:
- id: ruff
entry: poetry run ruff check --force-exclude --fix
- id: ruff-format
entry: poetry run ruff format --force-exclude
- repo: https://github.com/python-poetry/poetry
rev: 2.1.3
hooks:
- id: poetry-check
- id: poetry-lock
- id: poetry-install
- repo: https://github.com/python-poetry/poetry
rev: 2.1.3
hooks:
- id: poetry-check
args: ["-P", "client"]
- id: poetry-lock
args: ["-P", "client"]
- id: poetry-install
args: ["-P", "client"]