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.6 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
  1. [tool.poetry]
  2. name = "zenml-projects"
  3. version = "1.0.0"
  4. description = "Explore MLOps production use-cases with ZenML."
  5. authors = ["ZenML CodeMonkey <codemonkey@zenml.io>"]
  6. [tool.poetry.dependencies]
  7. python = ">=3.7.0,<3.9.0"
  8. [tool.poetry.dev-dependencies]
  9. pytest = "^6.2.5"
  10. darglint = "1.8.1"
  11. ruff = ">=0.0.254"
  12. pyspelling = "^2.8.2"
  13. mypy = ">=1.0.0"
  14. [build-system]
  15. requires = ["poetry-core>=1.0.0"]
  16. build-backend = "poetry.core.masonry.api"
  17. [tool.ruff]
  18. line-length = 79
  19. # Exclude a variety of commonly ignored directories.
  20. exclude = [
  21. ".bzr",
  22. ".direnv",
  23. ".eggs",
  24. ".git",
  25. ".hg",
  26. ".mypy_cache",
  27. ".nox",
  28. ".pants.d",
  29. ".ruff_cache",
  30. ".svn",
  31. ".tox",
  32. ".venv",
  33. "__pypackages__",
  34. "_build",
  35. "buck-out",
  36. ".test_durations",
  37. "build",
  38. "dist",
  39. "node_modules",
  40. "venv",
  41. '__init__.py',
  42. ]
  43. # use Python 3.8 as the minimum version for autofixing
  44. target-version = "py38"
  45. [tool.ruff.format]
  46. exclude = [
  47. "*.git",
  48. "*.hg",
  49. ".mypy_cache",
  50. ".tox",
  51. ".venv",
  52. "_build",
  53. "buck-out",
  54. "build]",
  55. ]
  56. [tool.ruff.lint]
  57. # Disable autofix for unused imports (`F401`).
  58. unfixable = ["F401"]
  59. per-file-ignores = {}
  60. ignore-init-module-imports = true
  61. ignore = [
  62. "E501",
  63. "F401",
  64. "F403",
  65. "D301",
  66. "D401",
  67. "D403",
  68. "D407",
  69. "D213",
  70. "D203",
  71. "S101",
  72. "S104",
  73. "S105",
  74. "S106",
  75. "S107",
  76. ]
  77. select = ["D", "E", "F", "I", "I001", "Q"]
  78. [tool.ruff.lint.flake8-import-conventions.aliases]
  79. altair = "alt"
  80. "matplotlib.pyplot" = "plt"
  81. numpy = "np"
  82. pandas = "pd"
  83. seaborn = "sns"
  84. [tool.ruff.lint.mccabe]
  85. max-complexity = 18
  86. [tool.ruff.lint.pydocstyle]
  87. # Use Google-style docstrings.
  88. convention = "google"
Tip!

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

Comments

Loading...