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 1.2 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
  1. [project]
  2. name = 'oct_segmentation'
  3. version = '0.0.1'
  4. [tool.setuptools.packages]
  5. find = {} # Scan the project directory with the default parameters
  6. [tool.black]
  7. line_length = 100
  8. skip_string_normalization = true
  9. verbose = true
  10. [tool.pycln]
  11. all = true
  12. [tool.isort]
  13. line_length = 100
  14. multi_line_output = 3
  15. force_grid_wrap = 0
  16. include_trailing_comma = true
  17. use_parentheses = true
  18. ensure_newline_before_comments = true
  19. [tool.ruff]
  20. line-length = 100
  21. ignore=['E501']
  22. # Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default
  23. select = ['E', 'F']
  24. # Allow unused variables when underscore-prefixed
  25. dummy-variable-rgx = '^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$'
  26. # Exclude a variety of commonly ignored directories
  27. exclude = [
  28. '.bzr',
  29. '.direnv',
  30. '.eggs',
  31. '.git',
  32. '.git-rewrite',
  33. '.hg',
  34. '.mypy_cache',
  35. '.nox',
  36. '.pants.d',
  37. '.pytype',
  38. '.ruff_cache',
  39. '.svn',
  40. '.tox',
  41. '.venv',
  42. '__pypackages__',
  43. '_build',
  44. 'buck-out',
  45. 'build',
  46. 'dist',
  47. 'node_modules',
  48. 'venv',
  49. ]
  50. [tool.ruff.mccabe]
  51. max-complexity = 10
  52. [tool.pydocstyle]
  53. convention = 'google'
  54. add_ignore = 'D100, D102, D103, D104, D105, D106, D107'
  55. [tool.mypy]
  56. install_types = true
  57. no_strict_optional = true
  58. ignore_missing_imports = true
Tip!

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

Comments

Loading...