File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 12
12
hooks :
13
13
- id : shfmt-docker
14
14
types : [text]
15
- files : ^(bash_completion|completions/.+|test/(config/bashrc|update-test-cmd-list)|.+\.sh(\.in)?)$
15
+ files : ^(bash_completion(\.d/[0-9]{3}_.+)? |completions/.+|test/(config/bashrc|update-test-cmd-list)|.+\.sh(\.in)?)$
16
16
exclude : ^completions/(\.gitignore|Makefile.*)$
17
17
18
18
- repo : https://github.com/shellcheck-py/shellcheck-py
21
21
- id : shellcheck
22
22
args : [-f, gcc]
23
23
types : [text]
24
- files : ^(bash_completion|completions/.+|test/(config/bashrc|update-test-cmd-list)|.+\.sh(\.in)?)$
24
+ files : ^(bash_completion(\.d/[0-9]{3}_.+)? |completions/.+|test/(config/bashrc|update-test-cmd-list)|.+\.sh(\.in)?)$
25
25
exclude : ^completions/(\.gitignore|Makefile.*)$
26
26
require_serial : false # We disable SC1090 anyway, so parallel is ok
27
27
Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ _get_cword()
132
132
133
133
# @deprecated Use the variable `_comp_backup_glob` instead. This is the
134
134
# backward-compatibility name.
135
+ # shellcheck disable=SC2154 # defined in the main "bash_completion"
135
136
_backup_glob=$_comp_backup_glob
136
137
137
138
# ex: filetype=sh
You can’t perform that action at this time.
0 commit comments