pyproject.toml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. [tool.poetry]
  2. name = "coffee_wars"
  3. version = "0"
  4. description = ""
  5. authors = ["Colin Powell <colin@unbl.ink>"]
  6. [tool.poetry.dependencies]
  7. python = ">=3.9,<3.14"
  8. Django = "^4.0.3"
  9. django-allauth = "^65.11.2"
  10. [tool.poetry.group.test]
  11. optional = true
  12. [tool.poetry.group.test.dependencies]
  13. Werkzeug = "2.0.3"
  14. black = "^22.3"
  15. coverage = "^7.0.5"
  16. mypy = "^0.961"
  17. pytest = "^7.1"
  18. pytest-black = "^0.3.12"
  19. pytest-cov = "^3.0"
  20. pytest-django = "^4.5.2"
  21. pytest-xdist= "^1.0.0"
  22. pytest-flake8 = "^1.1"
  23. pytest-isort = "^3.0"
  24. pytest-runner = "^6.0"
  25. time-machine = "^2.9.0"
  26. types-pytz = "^2022.1"
  27. types-requests = "^2.27"
  28. bandit = "^1.7.4"
  29. [tool.pytest.ini_options]
  30. minversion = "6.0"
  31. addopts = "-ra -q --reuse-db"
  32. testpaths = ["tests"]
  33. DJANGO_SETTINGS_MODULE='coffee_wars.settings'
  34. [tool.black]
  35. line-length = 79
  36. target-version = ["py39", "py310"]
  37. include = ".py$"
  38. exclude = "migrations"
  39. [tool.isort]
  40. multi_line_output = 3
  41. include_trailing_comma = true
  42. force_grid_wrap = 0
  43. combine_as_imports = true
  44. [tool.bandit]
  45. exclude_dirs = ["*/tests/*", "*/migrations/*"]
  46. [tool.poetry.scripts]
  47. cw = "coffee_wars.cli:main"
  48. [build-system]
  49. requires = ["poetry-core>=1.0.0"]
  50. build-backend = "poetry.core.masonry.api"