Re-enabled ansible-lint and ran pre-commit autoupgrade.

pull/113/head
Nicholas McDonnell 5 years ago
parent 12b91c4850
commit 3c78dd98a6
  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