OpenMetadata/ingestion/.pre-commit-config.yaml
Pere Miquel Brull 1804de6d73
[Issue-760] - Precommit & isort (#772)
* Update configs

* Update configs

* Update precommit black exclude

* Update precommit exclude isort

* Test precommit

* Revert test commit

* isort & black

* Test precommit

* Revert test precommit

* Update docs

* Apply recipe update

* Fix black_check recipe

* Grammar
2021-10-14 15:22:59 -07:00

14 lines
359 B
YAML

repos:
- repo: https://github.com/ambv/black
rev: stable
hooks:
- id: black
language_version: python3.8
exclude: ingestion/src/metadata/generated
- repo: https://github.com/timothycrosley/isort
rev: 5.9.3
hooks:
- id: isort
args: ["--profile", "black"]
exclude: ingestion/src/metadata/generated