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

#620 Black on factories and data_interface

Merged
Ghost merged 1 commits into Deci-AI:master from deci-ai:hotfix/SG-000-black_on_some_common
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
  1. ## Super-Gradients configuration for black/mypy/isort etc tools.
  2. [tool.isort]
  3. profile = "black"
  4. multi_line_output = 3
  5. include_trailing_comma = true
  6. force_grid_wrap = 0
  7. use_parentheses = true
  8. ensure_newline_before_comments = true
  9. line_length = 160
  10. ## Configuration for Black.
  11. [tool.black]
  12. line-length = 160
  13. target-version = ['py36', 'py37', 'py38', 'py39' ]
  14. include = '\.pyi?$'
  15. exclude = '''
  16. /(
  17. \.eggs
  18. | \.git
  19. | \.circleci
  20. | \.venv
  21. | _build
  22. | buck-out
  23. | build
  24. | dist
  25. )/
  26. '''
Discard
Tip!

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