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
  1. repos:
  2. - repo: https://github.com/pycqa/flake8
  3. rev: 3.8.3
  4. hooks:
  5. - id: flake8
  6. - repo: https://github.com/pre-commit/pre-commit-hooks
  7. rev: v3.1.0
  8. hooks:
  9. - id: check-added-large-files
  10. - id: check-docstring-first
  11. - id: check-executables-have-shebangs
  12. - id: check-json
  13. - id: check-yaml
  14. args: ["--unsafe"]
  15. - id: debug-statements
  16. - id: end-of-file-fixer
  17. - id: requirements-txt-fixer
  18. - id: trailing-whitespace
  19. - repo: https://github.com/jorisroovers/gitlint
  20. rev: v0.15.1
  21. hooks:
  22. - id: gitlint
  23. - repo: https://github.com/pycqa/isort
  24. rev: 4.3.21
  25. hooks:
  26. - id: isort
  27. - repo: https://github.com/PyCQA/autoflake
  28. rev: v1.4
  29. hooks:
  30. - id: autoflake
  31. name: Remove unused variables and imports
  32. entry: autoflake
  33. language: python
  34. args:
  35. [
  36. "--in-place",
  37. "--remove-all-unused-imports",
  38. "--remove-unused-variables",
  39. "--expand-star-imports",
  40. "--ignore-init-module-imports",
  41. ]
  42. files: \.py$
Tip!

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

Comments

Loading...