mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +00:00
Pre-commit changes to Prettier and executables check (#33749)
This commit is contained in:
parent
0d2de919a6
commit
34ecc803b3
@ -46,6 +46,7 @@ repos:
|
||||
rev: v2.4.0
|
||||
hooks:
|
||||
- id: check-executables-have-shebangs
|
||||
stages: [manual]
|
||||
- id: check-json
|
||||
- id: no-commit-to-branch
|
||||
args:
|
||||
@ -57,9 +58,10 @@ repos:
|
||||
hooks:
|
||||
- id: yamllint
|
||||
- repo: https://github.com/prettier/prettier
|
||||
rev: 2.0.2
|
||||
rev: 2.0.4
|
||||
hooks:
|
||||
- id: prettier
|
||||
stages: [manual]
|
||||
- repo: local
|
||||
hooks:
|
||||
# Run mypy through our wrapper script in order to get the possible
|
||||
|
@ -46,7 +46,7 @@ stages:
|
||||
pre-commit install-hooks
|
||||
- script: |
|
||||
. venv/bin/activate
|
||||
pre-commit run check-executables-have-shebangs --all-files
|
||||
pre-commit run --hook-stage manual check-executables-have-shebangs --all-files
|
||||
displayName: 'Run executables check'
|
||||
- script: |
|
||||
. venv/bin/activate
|
||||
|
Loading…
x
Reference in New Issue
Block a user