forked from murnat98/python-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
40 lines (40 loc) · 932 Bytes
/
.pre-commit-config.yaml
File metadata and controls
40 lines (40 loc) · 932 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
39
40
repos:
- repo: local
hooks:
- id: prevent-master
name: Prevent master
entry: poetry run poe prevent-master
pass_filenames: false
language: system
stages:
- commit
- push
- id: lint
name: Lint
entry: poetry run poe lint
pass_filenames: false
language: system
stages:
- commit
- push
- id: format
name: Autoformatter
entry: poetry run poe format
pass_filenames: false
language: system
stages:
- commit
- push
- id: test
name: Test
entry: poetry run poe test
pass_filenames: false
language: system
stages:
- push
- repo: https://github.com/commitizen-tools/commitizen
rev: v2.24.0
hooks:
- id: commitizen
stages:
- commit-msg