datahub/.pre-commit-config.yaml

26 lines
685 B
YAML

exclude: ^$
files: ^(docs/|docs-website/|metadata-ingestion/)
repos:
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.10.1
hooks:
- id: isort
- repo: https://github.com/ambv/black
rev: 23.1.0
hooks:
- id: black
- repo: https://github.com/myint/autoflake
rev: v1.4
hooks:
- id: autoflake
args:
- --in-place
- --remove-unused-variables
- --remove-all-unused-imports
- --expand-star-imports
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.0-alpha.6" # Use the sha or tag you want to point at
hooks:
- id: prettier
args:
- --write