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