We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d4e927 commit 2f37245Copy full SHA for 2f37245
.pre-commit-config.yaml
@@ -24,7 +24,7 @@ repos:
24
- id: debug-statements
25
- id: no-commit-to-branch
26
- id: check-merge-conflict
27
- - id: check-toml
+ - id: check-toml # TOML linter (syntax checker)
28
- id: check-yaml
29
args: [ '--unsafe' ] # for mkdocs.yml
30
- id: detect-private-key
@@ -55,17 +55,22 @@ repos:
55
stages:
56
- post-commit
57
58
+ - repo: https://github.com/ComPWA/taplo-pre-commit
59
+ rev: v0.9.3
60
+ hooks:
61
+ - id: taplo-format
62
+
63
- repo: local
64
hooks:
65
- id: format
- name: Format
66
+ name: Format Python code via Poetry
67
language: system
68
pass_filenames: false
69
entry: poetry format
70
types: [ python ]
71
72
- id: linter and test
- name: Linters
73
+ name: Linters via Poetry
74
75
76
entry: poetry lint
0 commit comments