Skip to content

Commit

Permalink
Update linters.txt, .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
Update ansible-lint command, add --parseable option
Add ansible prior to ansible-lint execution
  • Loading branch information
theodore86 committed Jun 4, 2023
1 parent ea35bc9 commit 902ea31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ repos:
entry: ansible-lint
description: Linter for Ansible roles and playbooks
language: system
args: ['--force-color', '--parseable-severity', 'provisioners/ansible/playbook.yml']
args: ['--force-color', '--parseable', 'provisioners/ansible/playbook.yml']
pass_filenames: false

- id: rubocoplint
Expand Down
3 changes: 2 additions & 1 deletion requirements.d/lint.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Requirements for base linting tools

-r ansible.txt
yamllint==1.32.0
typing-extensions==4.6.2
pylint==2.17.4
shellcheck-py==0.9.0.2
ansible-lint[community]==5.4.0
ansible-lint==5.4.0

0 comments on commit 902ea31

Please sign in to comment.