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.1 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
  1. {%- if cookiecutter.dependency_manager == "poetry" %}
  2. [tool.poetry]
  3. name = "{{ cookiecutter.__directory_name }}"
  4. version = "0.1.0"
  5. description = ""
  6. authors = ["{{ cookiecutter.author_name }}"]
  7. [tool.poetry.dependencies]
  8. python = "{{ cookiecutter.compatible_python_versions }}"
  9. hydra-core = "^1.1.1"
  10. [tool.poetry.dev-dependencies]
  11. pdoc3 = "^0.10.0"
  12. pytest = "^6.2.5"
  13. pre-commit = "^2.17.0"
  14. ipykernel = "^6.28.0"
  15. pandas-stubs = "^2.2.2"
  16. [build-system]
  17. requires = ["poetry-core>=1.0.0"]
  18. build-backend = "poetry.core.masonry.api"
  19. {% endif %}
  20. [tool.ruff]
  21. # Exclude a variety of commonly ignored directories.
  22. exclude = [
  23. ".bzr",
  24. ".direnv",
  25. ".eggs",
  26. ".git",
  27. ".git-rewrite",
  28. ".hg",
  29. ".mypy_cache",
  30. ".nox",
  31. ".pants.d",
  32. ".pytype",
  33. ".ruff_cache",
  34. ".svn",
  35. ".tox",
  36. ".venv",
  37. "__pypackages__",
  38. "_build",
  39. "buck-out",
  40. "build",
  41. "dist",
  42. "node_modules",
  43. "venv",
  44. ]
  45. # Same as Black.
  46. line-length = 88
  47. [tool.ruff.lint]
  48. ignore = ["E501"]
  49. select = ["B","C","E","F","W","B9", "I", "Q"]
  50. [tool.ruff.lint.mccabe]
  51. max-complexity = 10
  52. [tool.mypy]
  53. ignore_missing_imports = true
Tip!

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

Comments

Loading...