Merge pull request #21 from cisagov/pre-commit_autoupdate_2019-11-02

Re-enable ansible-lint and autoupgrade.
pull/113/head
Nick M 5 years ago committed by GitHub
commit 7dfd8bf735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 21
      .pre-commit-config.yaml

@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
rev: v2.4.0
hooks:
- id: check-executables-have-shebangs
- id: check-json
@ -23,7 +23,7 @@ repos:
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.18.0
rev: v0.19.0
hooks:
- id: markdownlint
args:
@ -37,13 +37,13 @@ repos:
hooks:
- id: shell-lint
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.8
rev: 3.7.9
hooks:
- id: flake8
additional_dependencies:
- flake8-docstrings
- repo: https://github.com/asottile/pyupgrade
rev: v1.25.0
rev: v1.25.1
hooks:
- id: pyupgrade
- repo: https://github.com/PyCQA/bandit
@ -53,15 +53,14 @@ repos:
args:
- --config=.bandit.yml
- repo: https://github.com/python/black
rev: 19.3b0
rev: 19.10b0
hooks:
- id: black
# Disabled until: https://github.com/ansible/ansible-lint/issues/590
# - repo: https://github.com/ansible/ansible-lint.git
# rev: v4.1.1a0
# hooks:
# - id: ansible-lint
# # files: molecule/default/playbook.yml
- repo: https://github.com/ansible/ansible-lint.git
rev: v4.1.1a3
hooks:
- id: ansible-lint
# files: molecule/default/playbook.yml
- repo: https://github.com/antonbabenko/pre-commit-terraform.git
rev: v1.12.0
hooks:

Loading…
Cancel
Save