ebcf22bb69
* Kept old specific linter tox targets for backwards compatibility, so developer can easily run a single linter if desired. * Reused tox linters virtualenvs to avoid wasting space * Moved linter config to their official location which enables developer to call them in any way he wants (like his IDE) * Updates yamllint to its newer version which supports strict * Fixed yamllint errors * Used parsable output format on yamllint which is more consistent with other tools, being also recognized by IDEs and terminals. Change-Id: I2bd44feb0a221dcd6f5402e070cf38b31fd8ac97 Depends-On: https://review.openstack.org/#/c/621930/ Story: https://tree.taiga.io/project/tripleo-ci-board/task/381
19 lines
805 B
Plaintext
19 lines
805 B
Plaintext
exclude_paths:
|
|
- roles/validate-ui/.travis.yml
|
|
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.
|
|
- ANSIBLE0012 # Commands should not change things if nothing needs doing
|
|
- 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
|