Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

.pre-commit-config.yaml 1009 B

You have to be logged in to leave a comment. Sign In
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
37
  1. # See https://pre-commit.com for more information
  2. # See https://pre-commit.com/hooks.html for more hooks
  3. repos:
  4. - repo: https://github.com/pre-commit/pre-commit-hooks
  5. rev: v3.2.0
  6. hooks:
  7. - id: check-yaml
  8. - id: check-added-large-files
  9. args: [--maxkb=1024]
  10. - repo: https://github.com/psf/black
  11. rev: 20.8b1 # Replace by any tag/version: https://github.com/psf/black/tags
  12. hooks:
  13. - id: black
  14. language_version: python3 # Should be a command that runs python3.6+
  15. exclude: labels.py|metrics|generated|labeled-data
  16. - repo: https://github.com/timothycrosley/isort
  17. rev: 5.6.4
  18. hooks:
  19. - id: isort
  20. args: [--profile, black]
  21. language_version: python3
  22. - repo: https://github.com/iterative/dvc
  23. rev: master
  24. hooks:
  25. - id: dvc-pre-commit
  26. language_version: python3
  27. stages:
  28. - commit
  29. - id: dvc-pre-push
  30. language_version: python3
  31. stages:
  32. - push
  33. - id: dvc-post-checkout
  34. language_version: python3
  35. stages:
  36. - post-checkout
  37. always_run: true
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...