File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 32
32
- vulture-docs
33
33
- shellcheck
34
34
- shellcheck-docs
35
+ - shfmt
36
+ - shfmt-docs
35
37
36
38
default_install_hook_types : [pre-commit, pre-push, commit-msg]
37
39
repos :
@@ -77,6 +79,19 @@ repos:
77
79
language : system
78
80
types_or : [markdown, rst]
79
81
82
+ - id : shfmt
83
+ name : shfmt
84
+ entry : shfmt --write
85
+ language : system
86
+ pass_filenames : false
87
+ types_or : [shell]
88
+
89
+ - id : shfmt-docs
90
+ name : shfmt-docs
91
+ entry : doccmd --language=shell --language=console --no-pad-file --command="shfmt --write"
92
+ language : system
93
+ types_or : [markdown, rst]
94
+
80
95
- id : mypy
81
96
name : mypy
82
97
stages : [push]
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ optional-dependencies.dev = [
65
65
# but also because having it installed means that ``actionlint-py`` will
66
66
# use it to lint shell commands in GitHub workflow files.
67
67
" shellcheck-py==0.10.0.1" ,
68
+ " shfmt-py==3.7.0.1" ,
68
69
" sphinx==8.0.2" ,
69
70
" sphinx-copybutton==0.5.2" ,
70
71
" sphinx-substitution-extensions==2024.8.6" ,
You can’t perform that action at this time.
0 commit comments