-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
36 lines (36 loc) · 1.01 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
default_stages: [push]
repos:
# - repo: https://github.com/iterative/dvc
# # use a specific version (e.g. 1.8.1) instead of master if you don't want
# # to use the upstream version
# rev: 2.9.3
# hooks:
# - id: dvc-pre-commit
# language_version: python3
# stages:
# - commit
# - id: dvc-pre-push
# # use s3/gs/etc instead of all to only install specific cloud support
# additional_dependencies: [".[s3]", ".[gdrive]"]
# language_version: python3
# stages:
# - push
# - always_run: true
# id: dvc-post-checkout
# language_version: python3
# stages:
# - post-checkout
- repo: local
hooks:
- id: style-reformat
name: style-reformat
stages: [push]
language: system
pass_filenames: false
entry: inv style.reformat
- id: test
name: test
stages: [push]
language: system
pass_filenames: false
entry: inv test