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 1.1 KB

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
38
39
40
41
42
43
44
45
46
47
  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: v2.4.0
  6. hooks:
  7. - id: trailing-whitespace
  8. - id: check-yaml
  9. exclude: "mkdocs.yml"
  10. - id: check-added-large-files
  11. args: ['--maxkb=1000']
  12. - id: check-ast
  13. - id: check-json
  14. - id: check-merge-conflict
  15. - id: check-json
  16. - repo: https://github.com/psf/black
  17. rev: 20.8b1
  18. hooks:
  19. - id: black
  20. args: []
  21. files: .
  22. - repo: https://gitlab.com/PyCQA/flake8
  23. rev: 3.8.3
  24. hooks:
  25. - id: flake8
  26. - repo: https://github.com/PyCQA/isort
  27. rev: 5.5.3
  28. hooks:
  29. - id: isort
  30. args: []
  31. files: .
  32. - repo: local
  33. hooks:
  34. - id: test-non-training
  35. name: test-non-training
  36. entry: make
  37. args: ["test-non-training"]
  38. language: system
  39. types: [python]
  40. pass_filenames: false
  41. - id: clean
  42. name: clean
  43. entry: make
  44. args: ["clean"]
  45. language: system
  46. types: [python]
  47. pass_filenames: false
Tip!

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

Comments

Loading...