mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-18 05:43:10 +00:00
Try to add ansible-lint to CI.
This commit is contained in:
parent
a15d9a3510
commit
fa02c71d80
2 changed files with 38 additions and 0 deletions
36
.ansible-lint
Normal file
36
.ansible-lint
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
---
|
||||
# Copyright (c) Ansible Project
|
||||
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
skip_list:
|
||||
# Ignore rules that make no sense:
|
||||
- galaxy[tags]
|
||||
- galaxy[version-incorrect]
|
||||
- meta-runtime[unsupported-version]
|
||||
- no-changed-when
|
||||
- sanity[cannot-ignore] # some of the rules you cannot ignore actually MUST be ignored, like yamllint:unparsable-with-libyaml
|
||||
- yaml # we're using yamllint ourselves
|
||||
- var-naming[no-role-prefix]
|
||||
|
||||
# To be checked and maybe fixed:
|
||||
- args
|
||||
- avoid-implicit
|
||||
- command-instead-of-module
|
||||
- command-instead-of-shell
|
||||
- complexity
|
||||
- fqcn
|
||||
- galaxy
|
||||
- ignore-errors
|
||||
- jinja
|
||||
- key-order
|
||||
- latest
|
||||
- literal-compare
|
||||
- name
|
||||
- no-free-form
|
||||
- no-handler
|
||||
- package-latest
|
||||
- risky-file-permissions
|
||||
- risky-shell-pipe
|
||||
- schema
|
||||
- var-naming
|
||||
|
|
@ -112,6 +112,8 @@ doc_fragment = "community.general._scaleway.actiongroup_scaleway"
|
|||
[sessions.build_import_check]
|
||||
run_galaxy_importer = true
|
||||
|
||||
[sessions.ansible_lint]
|
||||
|
||||
[sessions.ansible_test_sanity]
|
||||
include_devel = true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue