-
Notifications
You must be signed in to change notification settings - Fork 196
Expand file tree
/
Copy pathpyproject.toml
More file actions
20 lines (16 loc) · 937 Bytes
/
pyproject.toml
File metadata and controls
20 lines (16 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[tool.djlint]
profile="jinja"
extension="twig"
ignore="H009,H012,H023,H025,H030,H031,T001,T002,T027,T032"
# H009: lowercase tag names - false positive for Rust generics like <P: AsRef<Path>>
# H012: spaces around = - false positive for TypeScript generics like <T = Models.Document>
# H023: entity references - false positive for Rust references like &Client, &str
# H025: orphan tags - false positive for code generics like <T>, <String>, <Exception>
# H030/H031: meta description/keywords (not applicable to SDK code templates)
# T001: whitespace in tags - {%~ is intentional Twig whitespace control
# T002: double quotes - templates need flexibility with quote styles
# T027: unclosed strings - false positive for ${{ secrets.X }} in GitHub Actions
# T032: extra whitespace in tags - often intentional for formatting/line continuation
exclude=".git,vendor,tests/sdks,node_modules,examples"
use_gitignore=true
max_line_length=1200