8ac74a8177
Follows the same linting configuration that was implemented first in tripleo-quickstart-extras which makes used of pre-commit tool for managing all linters. This also avoids problems where a new linter release may break our gates because pre-commit always pins versions. Removes ansible from requirements.txt as it needs to be listed only in ansible-requirements.txt Change-Id: Ia229d3d58763d743bd19ad9099d7907561f3c77f Depends-On: https://review.openstack.org/#/c/626000/
16 lines
676 B
Plaintext
16 lines
676 B
Plaintext
parseable: true
|
|
rulesdir:
|
|
- ./ci-scripts/ansible_rules/
|
|
quiet: false
|
|
skip_list:
|
|
- ANSIBLE0006 # Using command rather than module we have a few use cases
|
|
# where we need to use curl and rsync
|
|
- ANSIBLE0007 # Using command rather than an argument to e.g file
|
|
# we have a lot of 'rm' command and we should use file module instead
|
|
- ANSIBLE0010 # Package installs should not use latest.
|
|
# Sometimes we need to update some packages.
|
|
- ANSIBLE0013 # Use Shell only when shell functionality is required
|
|
- ANSIBLE0016 # Tasks that run when changed should likely be handlers
|
|
# this requires refactoring roles, skipping for now
|
|
verbosity: 1
|