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:
commit
5e269301d3
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue