File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 24
24
- id: debug-statements
25
25
- id: no-commit-to-branch
26
26
- id: check-merge-conflict
27
- - id: check-toml
27
+ - id: check-toml # TOML linter (syntax checker)
28
28
- id: check-yaml
29
29
args: [ '--unsafe' ] # for mkdocs.yml
30
30
- id: detect-private-key
@@ -55,17 +55,22 @@ repos:
55
55
stages:
56
56
- post-commit
57
57
58
+ - repo: https://github.com/ComPWA/taplo-pre-commit
59
+ rev: v0.9.3
60
+ hooks:
61
+ - id: taplo-format
62
+
58
63
- repo: local
59
64
hooks:
60
65
- id: format
61
- name: Format
66
+ name: Format Python code via Poetry
62
67
language: system
63
68
pass_filenames: false
64
69
entry: poetry format
65
70
types: [ python ]
66
71
67
72
- id: linter and test
68
- name: Linters
73
+ name: Linters via Poetry
69
74
language: system
70
75
pass_filenames: false
71
76
entry: poetry lint
You can’t perform that action at this time.
0 commit comments