pyproject.toml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. [project]
  2. name = "cocorev-app"
  3. version = "0.1.0"
  4. description = "Add your description here"
  5. readme = "README.md"
  6. requires-python = ">=3.11"
  7. dependencies = []
  8. [tool.poetry]
  9. name = "cocorev-app"
  10. version = "0.1.0"
  11. description = ""
  12. authors = ["Colin Powell <colin@unbl.ink>"]
  13. readme = "README.md"
  14. [tool.poetry.dependencies]
  15. python = "^3.11"
  16. uvicorn = "^0.34.0"
  17. fastapi = "^0.115.8"
  18. httpx = "^0.28.1"
  19. python-dotenv = "^1.0.1"
  20. aiosqlite = "^0.21.0"
  21. sqlalchemy = "^2.0.38"
  22. [tool.poetry.group.dev.dependencies]
  23. black = "^22.3"
  24. coverage = "^7.0.5"
  25. mypy = "^0.961"
  26. pytest = "^7.1"
  27. pytest-black = "^0.3.12"
  28. pytest-cov = "^3.0"
  29. pytest-flake8 = "^1.1"
  30. pytest-isort = "^3.0"
  31. pytest-runner = "^6.0"
  32. time-machine = "^2.9.0"
  33. types-pytz = "^2022.1"
  34. types-requests = "^2.27"
  35. bandit = "^1.7.4"
  36. [build-system]
  37. requires = ["poetry-core"]
  38. build-backend = "poetry.core.masonry.api"
  39. [tool.pytest.ini_options]
  40. minversion = "6.0"
  41. addopts = "-ra -q --reuse-db"
  42. testpaths = ["tests"]
  43. DJANGO_SETTINGS_MODULE='cocorev.settings-testing'
  44. [tool.black]
  45. line-length = 79
  46. target-version = ["py310", "py311"]
  47. include = ".py$"
  48. exclude = "migrations"
  49. [tool.isort]
  50. multi_line_output = 3
  51. include_trailing_comma = true
  52. force_grid_wrap = 0
  53. combine_as_imports = true
  54. [tool.bandit]
  55. exclude_dirs = ["*/tests/*", "*/migrations/*"]
  56. [tool.poetry.scripts]
  57. cocorev = "cocorev.main:main"