Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,23 @@ repos:
entry: djlint --lint
language: python
files: \.(html|jinja|j2)$
- id: djlint-check
name: HTML formatter check
entry: djlint --check
language: python
files: \.(html|jinja|j2)$
- id: check-embedded-css
name: CSS linter (embedded styles)
entry: python scripts/check_css.py
language: python
files: \.(html|jinja|j2)$
additional_dependencies: [tinycss2==1.5.1]
- id: check-embedded-js
name: JS syntax checker (embedded scripts)
entry: python scripts/check_js.py
language: python
files: \.(html|jinja|j2)$
additional_dependencies: [py-mini-racer==0.6.0]
- id: pydocstyle
name: docstring style
entry: pydocstyle --convention=google
Expand Down
Loading