mirror of
https://github.com/FuzzyGrim/Yamtrack.git
synced 2026-03-03 00:47:03 +00:00
add djlint to pre-commit
This commit is contained in:
@@ -12,4 +12,16 @@ repos:
|
|||||||
entry: ruff format
|
entry: ruff format
|
||||||
language: system
|
language: system
|
||||||
types: [python]
|
types: [python]
|
||||||
|
require_serial: true
|
||||||
|
- id: djlint-lint
|
||||||
|
name: djlint-lint
|
||||||
|
entry: djlint --lint
|
||||||
|
language: system
|
||||||
|
types: [html]
|
||||||
|
require_serial: true
|
||||||
|
- id: djlint-reformat
|
||||||
|
name: djlint-reformat
|
||||||
|
entry: djlint --reformat
|
||||||
|
language: system
|
||||||
|
types: [html]
|
||||||
require_serial: true
|
require_serial: true
|
||||||
Reference in New Issue
Block a user