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

Loading…
Cancel
Save