-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pre-commit-config.yaml
49 lines (49 loc) · 1.02 KB
/
.pre-commit-config.yaml
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
39
40
41
42
43
44
45
46
47
48
49
---
fail_fast: true
exclude: |
(?x)^(
src/greynoiselabs/api/.*
)$
repos:
- repo: local
hooks:
- id: yamllint
name: Style check (yamllint)
entry: yamllint
language: system
types:
- yaml
- id: black
name: Style check (black)
entry: black
language: system
types:
- python
- id: isort
name: Style check (isort)
entry: isort
language: system
types:
- python
- id: ruff
name: Static analysis (ruff)
entry: ruff
language: system
types:
- python
- id: rst-lint
name: reStructuredText linting
entry: rst-lint
language: system
types:
- rst
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.17.0
hooks:
- id: yamllint
args: [-c=.yamllint]
- repo: https://github.com/python-poetry/poetry
rev: "1.5.1"
hooks:
- id: poetry-check
- id: poetry-lock