Pre-commit changes to Prettier and executables check (#33749)

This commit is contained in:
Franck Nijhof 2020-04-06 19:53:39 +02:00 committed by GitHub
parent 0d2de919a6
commit 34ecc803b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

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

View File

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