-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
43 lines (43 loc) · 1.05 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
repos:
- repo: local
hooks:
- id: docformatter
name: docformatter
description: "Formats docstrings to follow PEP8 and PEP257."
language: system
entry: poetry run docformatter
types: [python]
- id: isort
name: isort
stages: [commit]
language: system
entry: poetry run isort
types: [python]
- id: black
name: black
stages: [commit]
language: system
entry: poetry run black
types: [python]
- id: mypy
name: mypy
stages: [commit]
language: system
entry: poetry run mypy
types: [python]
require_serial: true
exclude: examples
- id: ruff
name: ruff
stages: [commit]
language: system
entry: poetry run ruff
types: [python]
exclude: examples
- id: sort-all
name: sort-all
stages: [commit]
language: system
entry: poetry run sort-all
types: [python]
exclude: examples