File tree 3 files changed +13
-5
lines changed
3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -163,3 +163,6 @@ cython_debug/
163
163
164
164
.DS_Store
165
165
.zed
166
+
167
+ # Vscode
168
+ .vscode
Original file line number Diff line number Diff line change 1
1
repos :
2
- - repo : https://github.com/rtts/djhtml
3
- rev : ' 3.0.6'
2
+ - repo : local
4
3
hooks :
5
- - id : djhtml
6
- entry : djhtml --tabwidth 2 templates
4
+ - id : format
5
+ name : format
6
+ stages : [commit]
7
+ entry : pdm
8
+ args : ['format']
9
+ language : system
10
+ pass_filenames : false
Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ plugins = ["pdm-autoexport"]
24
24
dev = " flask --app app run --debug"
25
25
test = " pytest -n auto"
26
26
run_black = " black ."
27
- djhtml = " djhtml --tabwidth 2 templates"
27
+ djhtml.cmd = " djhtml --tabwidth 2 templates"
28
+ djhtml.env = {PYTHONUTF8 = " 1" }
28
29
format = {composite = [" run_black" , " djhtml" ]}
29
30
30
31
[tool .pdm .dev-dependencies ]
You can’t perform that action at this time.
0 commit comments