fix: lint error by fecthing last content from cookiecutter

This commit is contained in:
Bechir Delibes BKWEDOU-NGAMENI 2023-08-07 12:24:38 +02:00
parent b2ad104eec
commit 28a61e55fa

View File

@ -9,60 +9,58 @@ parseable: true
use_default_rules: true use_default_rules: true
enable_list: enable_list:
command-shell: # Specific to use of command and shell modules # Specific to use of command and shell modules
- command-instead-of-module - command-instead-of-module
- command-instead-of-shell - command-instead-of-shell
- deprecated-command-syntax - deprecated-command-syntax
- inline-env-var - inline-env-var
- no-changed-when - no-changed-when
- risky-shell-pipe - risky-shell-pipe
core: # Related to internal implementation of the linter # Related to internal implementation of the linter
- internal-error - internal-error
- load-failure - load-failure
- parser-error - parser-error
- syntax-check - syntax-check
deprecations: # Indicate use of features that are removed from Ansible # Indicate use of features that are removed from Ansible
- deprecated-bare-vars - deprecated-bare-vars
- deprecated-command-syntax - deprecated-command-syntax
- deprecated-local-action - deprecated-local-action
- deprecated-module - deprecated-module
- no-jinja-when - no-jinja-when
- role-name - role-name
formatting: # Related to code-style # Related to code-style
- no-jinja-nesting - no-jinja-nesting
- no-tabs - no-tabs
- playbook-extension - playbook-extension
- risky-octal - risky-octal
- var-spacing - var-spacing
- yaml - yaml
idempotency: # Possible indication that consequent runs would produce different results # Possible indication that consequent runs would produce different results
- git-latest - git-latest
- hg-latest - hg-latest
- no-changed-when - no-changed-when
- package-latest - package-latest
idiom: # Anti-pattern detected, likely to cause undesired behavior # Anti-pattern detected, likely to cause undesired behavior
- command-instead-of-module - command-instead-of-module
- command-instead-of-shell - command-instead-of-shell
- empty-string-compare - empty-string-compare
- inline-env-var - inline-env-var
- literal-compare - literal-compare
- no-handler - no-handler
- no-loop-var-prefix - no-loop-var-prefix
- no-relative-paths - no-relative-paths
- unnamed-task - unnamed-task
- var-naming - var-naming
metadata: # Invalid metadata, likely related to galaxy, collections or roles # Invalid metadata, likely related to galaxy, collections or roles
- meta-incorrect - meta-incorrect
- meta-no-tags - meta-no-tags
- meta-video-links - meta-video-links
- role-name - role-name
unpredictability: - ignore-errors
- ignore-errors - partial-become
- partial-become - syntax-check
unskippable: # External linter which will also produce its own rule codes.
- syntax-check - yaml
yaml: # External linter which will also produce its own rule codes.
- yaml
warn_list: warn_list:
- experimental # all rules tagged as experimental - experimental # all rules tagged as experimental
@ -71,5 +69,6 @@ warn_list:
skip_list: skip_list:
- role-name # BUG - role-name # BUG
- name[casing]
verbosity: 1 verbosity: 1