File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,13 @@ repos:
1212 - id : check-added-large-files # Prevents committing large files
1313 args : ['--maxkb=500'] # Example: Limit to 500KB
1414 - id : check-merge-conflict # Checks for merge conflict strings
15- - id : detect-private-key # Detects accidental private key commits
15+ - id : detect-private-key # Detects accidental private key commits
16+
17+ - repo : https://github.com/ComPWA/taplo-pre-commit
18+ rev : v0.9.3
19+ hooks :
20+ - id : taplo-format
21+ - id : taplo-lint
1622
1723 # ===============================================
1824 # Python Hooks
4551 - id : ruff # Linter: applies auto-fixable linting rules
4652 args : [ "--fix", "--exit-zero" ] # Apply fixes, and exit with 0 even if files were modified
4753 - id : ruff-format # Formatter: similar to Black, handles consistent code style
48- args : [] # Check formatting, but do not auto-fix during commit; fail if not formatted
54+ args : [] # Check formatting, but do not auto-fix during commit; fail if not formatted
You can’t perform that action at this time.
0 commit comments