pyproject.toml 822 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [build-system]
  2. requires = ["setuptools>=68.0", "setuptools-scm>=8.0"]
  3. build-backend = "setuptools.build_meta"
  4. [project]
  5. name = "chattolib"
  6. version = "0.1.0"
  7. description = "Async Python client library for the Chatto webchat GraphQL API"
  8. requires-python = ">=3.11"
  9. license = "MIT"
  10. dependencies = [
  11. "httpx>=0.27",
  12. "websockets>=13.0",
  13. ]
  14. [project.optional-dependencies]
  15. dev = [
  16. "pytest>=8.0",
  17. "pytest-asyncio>=0.24",
  18. "respx>=0.22",
  19. "ruff>=0.8",
  20. "mypy>=1.13",
  21. ]
  22. [tool.setuptools.packages.find]
  23. where = ["src"]
  24. [tool.pytest.ini_options]
  25. asyncio_mode = "auto"
  26. testpaths = ["tests"]
  27. [tool.ruff]
  28. target-version = "py311"
  29. line-length = 100
  30. [tool.ruff.lint]
  31. select = ["E", "F", "I", "N", "W", "UP"]
  32. [tool.mypy]
  33. python_version = "3.11"
  34. strict = true
  35. warn_return_any = true
  36. warn_unused_configs = true