-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
32 lines (29 loc) · 986 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
32 lines (29 loc) · 986 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
repos:
- repo: https://github.com/psf/black
rev: 26.1.0 # Replace by any tag/version: https://github.com/psf/black/tags
hooks:
- id: black
language_version: python3
- repo: https://github.com/timothycrosley/isort
rev: 6.0.1 # Replace by any tag/version: https://github.com/PyCQA/isort/tags
hooks:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/tmillenaar/wordwarden
rev: v0.1.5
hooks:
- id: wordwarden
name: Word Warden - Debug Statements
entry: word_warden
args: ["breakpoint()", ".set_trace()", "println("]
stages: [pre-commit, pre-push]
types_or: [python, pyi, rust, rst]
- repo: https://github.com/tmillenaar/wordwarden
rev: v0.1.5
hooks:
- id: wordwarden
name: Word Warden - WIP comments
entry: word_warden
args: ["WIP", "FIXME", "nocheckin"]
stages: [pre-push]
types_or: [python, pyi, rust, rst]