LocationFinder / .pre-commit-config.yaml
mattupson's picture
new: Add pre-commit
6de1e1a unverified
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: check-yaml
- id: trailing-whitespace
- id: mixed-line-ending
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/iterative/dvc
rev: 2.10.0
hooks:
- id: dvc-pre-commit
language_version: python3
stages:
- commit
- id: dvc-pre-push
additional_dependencies: ['.[s3]']
language_version: python3
stages:
- push
- id: dvc-post-checkout
language_version: python3
stages:
- post-checkout
always_run: true