Commit 03835df 1 parent 8a4fa2d commit 03835df Copy full SHA for 03835df
File tree 2 files changed +56
-0
lines changed
2 files changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ use_default_rules: true
3
+ exclude_paths:
4
+ - '**/*.sops.yml'
5
+ - .github/
6
+ skip_list:
7
+ - galaxy[no-changelog]
8
+ - yaml[indentation]
9
+ - yaml[line-length]
10
+ # Allow Jinja templating inside task and play names
11
+ - name[template]
12
+ warn_list:
13
+ - command-instead-of-module
14
+ - command-instead-of-shell
15
+ - unnamed-task
Original file line number Diff line number Diff line change
1
+ ---
2
+ # See https://pre-commit.com for more information
3
+ # See https://pre-commit.com/hooks.html for more hooks
4
+ fail_fast : false
5
+ repos :
6
+ - repo : https://github.com/pre-commit/pre-commit-hooks
7
+ rev : v5.0.0
8
+ hooks :
9
+ - id : trailing-whitespace
10
+ - id : end-of-file-fixer
11
+ - id : mixed-line-ending
12
+ - repo : https://github.com/Lucas-C/pre-commit-hooks
13
+ rev : v1.5.5
14
+ hooks :
15
+ - id : forbid-crlf
16
+ - id : forbid-tabs
17
+ - repo : https://github.com/Lucas-C/pre-commit-hooks
18
+ rev : v1.5.5
19
+ hooks :
20
+ - id : remove-crlf
21
+ - id : remove-tabs
22
+ - repo : https://github.com/sirosen/fix-smartquotes
23
+ rev : 0.2.0
24
+ hooks :
25
+ - id : fix-smartquotes
26
+ - repo : https://github.com/onedr0p/sops-pre-commit
27
+ rev : v2.1.1
28
+ hooks :
29
+ - id : forbid-secrets
30
+ - repo : https://github.com/ansible-community/ansible-lint
31
+ rev : v24.10.0
32
+ hooks :
33
+ - id : ansible-lint
34
+ entry : python3 -m ansiblelint -v --force-color
35
+ language : python
36
+ files : ^ansible_collections/.*\.(?:yaml|yml)$
37
+ # do not pass files to ansible-lint, see:
38
+ # https://github.com/ansible/ansible-lint/issues/611
39
+ pass_filenames : false
40
+ args :
41
+ - --config-file=./.ansible-lint
You can’t perform that action at this time.
0 commit comments