pyproject.toml 987 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. [project]
  2. name = "claudia"
  3. version = "0.1.0"
  4. description = "Claudia - Python project scaffold"
  5. readme = "README.md"
  6. requires-python = ">=3.9"
  7. keywords = ["scaffold", "template"]
  8. license = { file = "LICENSE" }
  9. dependencies = [
  10. "requests>=2.31",
  11. "pymongo>=4.6",
  12. ]
  13. [project.optional-dependencies]
  14. dev = [
  15. "pytest>=7",
  16. "ruff>=0.5",
  17. "black>=24.3",
  18. "pylint>=3.2",
  19. ]
  20. [build-system]
  21. requires = ["setuptools>=61.0"]
  22. build-backend = "setuptools.build_meta"
  23. [project.scripts]
  24. claudia = "claudia.__main__:main"
  25. [tool.pytest.ini_options]
  26. addopts = "-q"
  27. pythonpath = ["src"]
  28. [tool.ruff]
  29. line-length = 100
  30. target-version = "py39"
  31. [tool.ruff.lint]
  32. select = ["E", "F", "I", "UP"]
  33. ignore = []
  34. [tool.ruff.format]
  35. quote-style = "double"
  36. indent-style = "space"
  37. skip-magic-trailing-comma = false
  38. line-ending = "lf"
  39. [tool.black]
  40. line-length = 100
  41. target-version = ["py39"]
  42. include = "\\.(py|pyi)$"
  43. exclude = '''
  44. /(
  45. \.git
  46. | \.venv
  47. | build
  48. | dist
  49. | __pycache__
  50. | \.mypy_cache
  51. | \.ruff_cache
  52. )
  53. '''