Add check-json to CI and Pre-commit (#29912)

* Add check-json to CI and Pre-commit

* Add ignore pre-commit hooks to gen_requirements_all
This commit is contained in:
Franck Nijhof
2019-12-16 11:06:16 +01:00
committed by Paulus Schoutsen
parent d1e59b20c8
commit 87ca61ddd7
4 changed files with 18 additions and 3 deletions
+4
View File
@@ -56,6 +56,10 @@ stages:
. venv/bin/activate
pre-commit run isort --all-files
displayName: 'Run isort'
- script: |
. venv/bin/activate
pre-commit run check-json --all-files
displayName: 'Run check-json'
- job: 'Validate'
pool:
vmImage: 'ubuntu-latest'