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 authored and Paulus Schoutsen committed 2019-12-16 11:06:16 +01:00
1 parent d1e59b20c8
commit 87ca61ddd7
4 files changed
+18 -3

No files matched your search

+4
View File
@@ -39,6 +39,10 @@ repos:
rev: v4.3.21
hooks:
- id: isort
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
hooks:
- id: check-json
# Using a local "system" mypy instead of the mypy hook, because its
# results depend on what is installed. And the mypy hook runs in a
# virtualenv of its own, meaning we'd need to install and maintain