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
  1. default_stages: [pre-commit, pre-push]
  2. repos:
  3. - repo: https://github.com/astral-sh/ruff-pre-commit
  4. rev: v0.8.6
  5. hooks:
  6. - id: ruff
  7. args: ["--fix", "--show-fixes"]
  8. - id: ruff-format
  9. - repo: https://github.com/codespell-project/codespell
  10. rev: v2.3.0
  11. hooks:
  12. - id: codespell
  13. args: ["-L", "fo,ihs,kake,te", "-S", "fixture"]
  14. - repo: https://github.com/pre-commit/pre-commit-hooks
  15. rev: v5.0.0
  16. hooks:
  17. - id: check-yaml
  18. - id: trailing-whitespace
  19. - repo: https://github.com/pre-commit/mirrors-mypy
  20. rev: v1.14.1
  21. hooks:
  22. - id: mypy
  23. files: src|tests
  24. additional_dependencies:
  25. # Package dependencies
  26. - packaging
  27. - donfig
  28. - numcodecs[crc32c]
  29. - numpy==2.1 # until https://github.com/numpy/numpy/issues/28034 is resolved
  30. - typing_extensions
  31. - universal-pathlib
  32. # Tests
  33. - pytest
  34. - repo: https://github.com/pre-commit/pygrep-hooks
  35. rev: v1.10.0
  36. hooks:
  37. - id: rst-directive-colons
  38. - id: rst-inline-touching-normal
Tip!

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

Comments

Loading...