Skip to content

Commit b890740

Browse files
Merge pull request #56 from A1EF/master
Fixes for linters
2 parents c41fa9c + 08f95e9 commit b890740

File tree

10 files changed

+11
-11
lines changed

10 files changed

+11
-11
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,37 @@
66
default_stages: [commit]
77
repos:
88
- repo: https://github.com/rubocop-hq/rubocop
9-
rev: v1.29.1
9+
rev: v1.50.1
1010
hooks:
1111
- id: rubocop
1212
name: Check Ruby files with rubocop
1313
args: [--debug]
1414
always_run: true
1515
pass_filenames: false
1616
- repo: https://github.com/shellcheck-py/shellcheck-py
17-
rev: v0.8.0.4
17+
rev: v0.9.0.2
1818
hooks:
1919
- id: shellcheck
2020
name: Check shell scripts with shellcheck
2121
args: [--severity=error]
2222
files: ^.*\.(sh|bash|ksh)$
2323
types: []
2424
- repo: https://github.com/adrienverge/yamllint
25-
rev: v1.26.3
25+
rev: v1.30.0
2626
hooks:
2727
- id: yamllint
2828
name: Check YAML syntax with yamllint
2929
args: [--strict, '.']
3030
always_run: true
3131
pass_filenames: false
3232
- repo: https://github.com/warpnet/salt-lint
33-
rev: v0.8.0
33+
rev: v0.9.2
3434
hooks:
3535
- id: salt-lint
3636
name: Check Salt files using salt-lint
3737
files: ^.*\.(sls|jinja|j2|tmpl|tst)$
3838
- repo: https://github.com/pre-commit/pre-commit-hooks
39-
rev: v4.2.0
39+
rev: v4.4.0
4040
hooks:
4141
- id: end-of-file-fixer
4242
- id: trailing-whitespace

.salt-lint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exclude_paths:
77
rules:
88
206: # Jinja variables should have spaces before and after: '{{ var_name }}'
99
ignore: |
10-
salt/exim/init.sls
10+
salt/exim.sls
1111
skip_list:
1212
# Using `salt-lint` for linting other files as well, such as Jinja macros/templates
1313
- 205 # Use ".sls" as a Salt State file extension

bin/kitchen

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ if File.file?(bundle_binstub)
1919
load(bundle_binstub)
2020
else
2121
abort(
22-
'Your `bin/bundle` was not generated by Bundler, '\
23-
'so this binstub cannot run. Replace `bin/bundle` by running '\
22+
'Your `bin/bundle` was not generated by Bundler, ' \
23+
'so this binstub cannot run. Replace `bin/bundle` by running ' \
2424
'`bundle binstubs bundler --force`, then run this command again.'
2525
)
2626
end
File renamed without changes.

salt/backup/init.sls

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
- mode: 700
77
- template: jinja
88
- context:
9-
backup_dir: {{ pillar['backup_dir'] }}
9+
backup_dir: {{ pillar['backup_dir'] }}
1010

1111
/root/backup_site.sh:
1212
file.managed:
@@ -16,8 +16,8 @@
1616
- mode: 700
1717
- template: jinja
1818
- context:
19-
backup_dir: {{ pillar['backup_dir'] }}
20-
backup_site_list: {{ pillar['backup_sites'] | join(' ') }}
19+
backup_dir: {{ pillar['backup_dir'] }}
20+
backup_site_list: {{ pillar['backup_sites'] | join(' ') }}
2121

2222
#backup-mysql:
2323
# cron.present:
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)