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 #24 from cisagov/improvement/pre_commit_default_python

Set a default language for pre-commit hooks
This commit is contained in:
Mark Feldhousen 2019-11-15 12:33:53 -05:00 committed by GitHub
commit 5e269301d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,8 @@
--- ---
default_language_version:
# force all unspecified python hooks to run python3
python: python3
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0 rev: v2.4.0
@ -57,7 +61,7 @@ repos:
hooks: hooks:
- id: black - id: black
- repo: https://github.com/ansible/ansible-lint.git - repo: https://github.com/ansible/ansible-lint.git
rev: v4.1.1a3 rev: v4.1.1a5
hooks: hooks:
- id: ansible-lint - id: ansible-lint
# files: molecule/default/playbook.yml # files: molecule/default/playbook.yml
@ -71,6 +75,6 @@ repos:
hooks: hooks:
- id: docker-compose-check - id: docker-compose-check
- repo: https://github.com/prettier/prettier - repo: https://github.com/prettier/prettier
rev: 1.18.2 rev: 1.19.1
hooks: hooks:
- id: prettier - id: prettier