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 720 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
  1. # Black formatting
  2. [tool.black]
  3. line-length = 100
  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. skip_gitignore = true
  26. virtual_env = "venv"
  27. # Pytest
  28. [tool.pytest.ini_options]
  29. testpaths = ["tests"]
  30. python_files = "test_*.py"
  31. addopts = "--strict-markers --disable-pytest-warnings"
  32. markers = [
  33. "training: tests that involve training",
  34. ]
  35. # Pytest coverage
  36. [tool.coverage.run]
  37. omit = ["app/main.py"]
Tip!

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

Comments

Loading...