Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pre-commit issues. #33

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 15 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,14 @@ repos:
hooks:
- id: pyupgrade

# Ansible hooks
- repo: https://github.com/ansible/ansible-lint
rev: v6.19.0
hooks:
- id: ansible-lint
# files: molecule/default/playbook.yml
# # Ansible hooks
# This hook takes several minutes checking .yml files outside our version control and
# there are no ansible playbooks in this repository
# - repo: https://github.com/ansible/ansible-lint
# rev: v6.19.0
# hooks:
# - id: ansible-lint
# files: molecule/default/playbook.yml

# Terraform hooks
- repo: https://github.com/antonbabenko/pre-commit-terraform
Expand All @@ -155,9 +157,10 @@ repos:
hooks:
- id: docker-compose-check

# Packer hooks
- repo: https://github.com/cisagov/pre-commit-packer
rev: v0.0.2
hooks:
- id: packer_validate
- id: packer_fmt
# # Packer hooks
# This hook fails and there are no packer files in this repository
# - repo: https://github.com/cisagov/pre-commit-packer
# rev: v0.0.2
# hooks:
# - id: packer_validate
# - id: packer_fmt
Loading