charm-zuul-jobs/.ansible-lint
Brian Haley afdbfe7f7d Add jobs and templates for charm stable branches
Define py3* and cover job templates, and pep8 and cover
job definitions for the stable branches that use the
LTS-keyword names like stable/jammy, etc. so we do not
pollute the openstack-zuul-jobs repo which uses
Openstack-keyword names.

Updated ansible requirements and disabled some checks to
pass linters job.

Change-Id: I59cb57c9d5dc0a2aa09127497516c7181e9ff008
2024-12-12 16:00:43 -05:00

30 lines
899 B
Plaintext

parseable: true
quiet: false
skip_list:
- meta-no-info # No 'galaxy_info' found
- no-changed-when # Commands should not change things if nothing needs doing
- no-tabs # Most files should not contain tabs
- role-name # Role name does not match ``^[a-z][a-z0-9_]+$`` pattern
- fqcn-builtins # It would probably be good to enforce this, but it's a lot
- risky-file-permissions # It would probably also good to enforce this if someone wants to look at them
- schema # This is a stricter form of schema per https://github.com/ansible/schemas. might also be good if someone has motivation?
- no-free-form
- name
- yaml
- fqcn
warn_list:
- yaml[truthy]
use_default_rules: true
verbosity: 1
mock_modules:
- zuul_console
- zuul_return
loop_var_prefix: zj_
# Enable rules that are disabled by default:
enable_list:
- no-same-owner
# Local variables:
# mode: yaml
# End: