diff --git a/.ansible-lint b/.ansible-lint deleted file mode 100644 index 882e6e0a5..000000000 --- a/.ansible-lint +++ /dev/null @@ -1,21 +0,0 @@ ---- - -exclude_paths: - - roles/infrared/ - - zuul.d/ - - .*.yaml - - tobiko/ - - releasenotes/ - # TODO(eolivare) remove the following excluded_paths after having fixed - # ansible-lint errors - - infrared_plugin/ - - roles/ - - playbooks/ - - -skip_list: - - '206' - - '306' - - '403' - - '502' - - '701' diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3463a1bff..a851e3605 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -42,12 +42,6 @@ repos: pass_filenames: false # args: [--ignore-missing-imports] - - repo: https://github.com/ansible/ansible-lint.git - rev: v6.21.1 - hooks: - - id: ansible-lint - files: \.(yaml|yml)$ - - repo: local hooks: - id: pylint diff --git a/tox.ini b/tox.ini index bacbdda0a..c8c07bcf5 100644 --- a/tox.ini +++ b/tox.ini @@ -102,16 +102,6 @@ setenv = {[testenv:pep8]setenv} -[testenv:ansible-lint] -basepython = {[testenv:pep8]basepython} -deps = {[testenv:pep8]deps} -envdir = {toxworkdir}/pep8 -commands = - pre-commit run -a ansible-lint -setenv = - {[testenv:pep8]setenv} - - [testenv:linters] basepython = {[testenv:pep8]basepython}