Skip to content

Commit

Permalink
Update djlint, enable H026 and T027 (#25980)
Browse files Browse the repository at this point in the history
New rules enabled as the bugs I reported were fixed:

- H026 | Empty id and class tags can be removed.
- T027 | Unclosed string found in template syntax.

Refs:

djlint/djLint#711
djlint/djLint#712
  • Loading branch information
silverwind authored Jul 19, 2023
1 parent c7455e9 commit 06df92b
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 50 deletions.
96 changes: 48 additions & 48 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ authors = []
python = "^3.8"

[tool.poetry.group.dev.dependencies]
djlint = "1.31.1"
djlint = "1.32.0"

[tool.djlint]
profile="golang"
ignore="H005,H006,H008,H013,H016,H020,H021,H026,H030,H031,T027"
ignore="H005,H006,H008,H013,H016,H020,H021,H030,H031"

0 comments on commit 06df92b

Please sign in to comment.