File tree 5 files changed +5
-32
lines changed
5 files changed +5
-32
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,5 @@ python_sources()
3
3
shell_sources (
4
4
name = "shell" ,
5
5
skip_shellcheck = True ,
6
- overrides = {
7
- "print_to_stdout_and_stderr.sh" : dict (skip_shfmt = True ),
8
- }
6
+ skip_shfmt = True ,
9
7
)
Original file line number Diff line number Diff line change @@ -240,10 +240,8 @@ install_from_resolve = "st2"
240
240
[shfmt ]
241
241
args = [
242
242
# https://github.com/mvdan/sh/blob/master/cmd/shfmt/shfmt.1.scd#printer-flags
243
- " --indent" ,
244
- " 4" , # default is 0 (use tabs)
243
+ " --indent=4" , # default is 0 (use tabs)
245
244
" --case-indent" ,
246
- " --simplify" ,
247
245
]
248
246
249
247
[test ]
Original file line number Diff line number Diff line change 1
- shell_sources (
2
- overrides = {
3
- (
4
- "add-itest-user-key.sh" ,
5
- "permissions-workaround.sh" ,
6
- "run-nightly-make-task-if-exists.sh" ,
7
- "submit-codecov-coverage.sh" ,
8
- "time-command.sh" ,
9
- ): dict (skip_shfmt = True ),
10
- },
11
- )
1
+ shell_sources (skip_shfmt = True )
Original file line number Diff line number Diff line change 8
8
9
9
shell_sources (
10
10
dependencies = [":assets" ],
11
- overrides = {
12
- (
13
- "install-apt-packages-use-cache.sh" ,
14
- "install-mongosh.sh" ,
15
- "install-virtualenv.sh" ,
16
- "setup-environment.sh" ,
17
- ): dict (skip_shfmt = True ),
18
- },
11
+ skip_shfmt = True ,
19
12
)
Original file line number Diff line number Diff line change @@ -48,14 +48,8 @@ shell_sources(
48
48
"st2-setup-*" ,
49
49
],
50
50
skip_shellcheck = True ,
51
+ skip_shfmt = True ,
51
52
dependencies = [
52
53
"conf:st2_dev_conf" ,
53
54
],
54
- overrides = {
55
- (
56
- "db_cleanup.sh" ,
57
- "launchdev.sh" ,
58
- "st2-setup-tests" ,
59
- ): dict (skip_shfmt = True ),
60
- },
61
55
)
You can’t perform that action at this time.
0 commit comments