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:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.4.0
|
||||
|
@ -57,7 +61,7 @@ repos:
|
|||
hooks:
|
||||
- id: black
|
||||
- repo: https://github.com/ansible/ansible-lint.git
|
||||
rev: v4.1.1a3
|
||||
rev: v4.1.1a5
|
||||
hooks:
|
||||
- id: ansible-lint
|
||||
# files: molecule/default/playbook.yml
|
||||
|
@ -71,6 +75,6 @@ repos:
|
|||
hooks:
|
||||
- id: docker-compose-check
|
||||
- repo: https://github.com/prettier/prettier
|
||||
rev: 1.18.2
|
||||
rev: 1.19.1
|
||||
hooks:
|
||||
- id: prettier
|
||||
|
|
Loading…
Reference in a new issue