-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
52 lines (46 loc) · 1.47 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
50
51
52
repos:
- repo: local
hooks:
- id: debug-statements
name: 🐛 debug
entry: poetry run debug-statement-hook
language: system
types: [python]
stages: [commit, manual]
- id: trailing-whitespace
name: ✂️ trailing-whitespace
entry: poetry run trailing-whitespace-fixer
language: system
types_or: [dotenv, gitignore, makefile, markdown, plain-text, python, sh, terraform, text, toml, yaml]
stages: [commit, manual]
- id: end-of-file-fixer
name: ⛔️ end-of-file-fixer
entry: poetry run end-of-file-fixer
language: system
types_or: [dotenv, gitignore, makefile, markdown, plain-text, python, sh, terraform, text, toml, yaml]
stages: [commit, manual]
- id: black
name: ♟️ black
entry: poetry run black
language: system
types: [python]
stages: [commit, manual]
- id: mypy
name: 🆎 mypy
entry: poetry run mypy
args: [--config-file, mypy.ini]
language: system
types: [python]
stages: [commit, manual]
- id: ruff
name: 🌟 ruff
entry: poetry run ruff check
language: system
types: [python]
stages: [commit, manual]
# - id: interrogate
# name: 🔎 interrogate
# entry: poetry run interrogate
# language: system
# types: [python]
# stages: [commit, manual]