forked from github/pelican
Add pre-commit djhtml, djcss, djjs to indent templates
This commit is contained in:
parent
270fd4edcc
commit
7f07c220de
1 changed files with 8 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ repos:
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: forbid-new-submodules
|
- id: forbid-new-submodules
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
|
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
# ruff version should match the one in pyproject.toml
|
# ruff version should match the one in pyproject.toml
|
||||||
rev: v0.4.6
|
rev: v0.4.6
|
||||||
|
|
@ -20,3 +21,10 @@ repos:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args: [--fix, --exit-non-zero-on-fix]
|
args: [--fix, --exit-non-zero-on-fix]
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
|
|
||||||
|
- repo: https://github.com/rtts/djhtml
|
||||||
|
rev: '3.0.6'
|
||||||
|
hooks:
|
||||||
|
- id: djhtml
|
||||||
|
- id: djcss
|
||||||
|
- id: djjs
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue