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

pyproject.toml 833 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
38
39
40
41
42
43
44
45
  1. # Black formatting
  2. [tool.black]
  3. line-length = 150
  4. include = '\.pyi?$'
  5. exclude = '''
  6. /(
  7. .eggs # exclude a few common directories in the
  8. | .git # root of the project
  9. | .hg
  10. | .mypy_cache
  11. | .tox
  12. | venv
  13. | _build
  14. | buck-out
  15. | build
  16. | dist
  17. )/
  18. '''
  19. # iSort
  20. [tool.isort]
  21. profile = "black"
  22. line_length = 79
  23. multi_line_output = 3
  24. include_trailing_comma = true
  25. virtual_env = "venv"
  26. [tool.flake8]
  27. exclude = "venv"
  28. ignore = ["E501", "W503", "E226"]
  29. # E501: Line too long
  30. # W503: Line break occurred before binary operator
  31. # E226: Missing white space around arithmetic operator
  32. [tool.pyupgrade]
  33. py39plus = true
  34. # Pytest
  35. [tool.pytest.ini_options]
  36. testpaths = ["tests"]
  37. python_files = "test_*.py"
  38. # Pytest cov
  39. [tool.coverage.run]
  40. omit=["madewithml/evaluate.py", "madewithml/serve.py"]
Tip!

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

Comments

Loading...