1
0
Fork 0
mirror of https://github.com/cisagov/log4j-affected-db.git synced 2024-11-22 16:40:48 +00:00

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

Re-enable ansible-lint and autoupgrade.
This commit is contained in:
Nick M 2019-11-05 11:47:19 -05:00 committed by GitHub
commit 7dfd8bf735
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: