pyproject.toml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. [tool.poetry]
  2. name = "emus_web"
  3. version = "0.1.0"
  4. description = "A hacky web frontend for Emulation Station rom collections"
  5. authors = ["Colin Powell <colin@unbl.ink>"]
  6. [tool.poetry.dependencies]
  7. python = "^3.8"
  8. Django = "^4.0.3"
  9. django-extensions = "^3.1.5"
  10. python-dateutil = "^2.8.2"
  11. python-dotenv = "^0.20.0"
  12. python-json-logger = "^2.0.2"
  13. colorlog = "^6.6.0"
  14. djangorestframework = "^3.13.1"
  15. Markdown = "^3.3.6"
  16. django-filter = "^21.1"
  17. Pillow = "^9.0.1"
  18. psycopg2 = {version = "^2.9.3", extras = ["production"]}
  19. dj-database-url = "^0.5.0"
  20. django-mathfilters = "^1.0.0"
  21. django-allauth = "^0.50.0"
  22. django-celery-results = "^2.3.0"
  23. redis = "^4.2.2"
  24. django-taggit = "^2.1.0"
  25. django-markdownify = "^0.9.1"
  26. gunicorn = "^20.1.0"
  27. django-simple-history = "^3.1.1"
  28. whitenoise = "^6.3.0"
  29. celery = "^5.3.0"
  30. pytest-django = "^4.5.2"
  31. [tool.poetry.dev-dependencies]
  32. Werkzeug = "2.0.3"
  33. black = "^22.3"
  34. freezegun = "^1.2"
  35. mypy = "^0.961"
  36. pytest = "^7.1"
  37. pytest-black = "^0.3.12"
  38. pytest-cov = "^3.0"
  39. pytest-flake8 = "^1.1"
  40. pytest-isort = "^3.0"
  41. pytest-runner = "^6.0"
  42. pytest-selenium = "^2.0.1"
  43. types-pytz = "^2022.1"
  44. types-requests = "^2.27"
  45. types-freezegun = "^1.1"
  46. bandit = "^1.7.4"
  47. [tool.black]
  48. line-length = 79
  49. skip-string-normalization = true
  50. target-version = ["py37", "py38"]
  51. include = ".py$"
  52. exclude = "migrations"
  53. [tool.isort]
  54. multi_line_output = 3
  55. include_trailing_comma = true
  56. force_grid_wrap = 0
  57. combine_as_imports = true
  58. [tool.bandit]
  59. exclude_dirs = ["activities/tests/*", "activities/migrations/*"]
  60. [tool.pytest.ini_options]
  61. minversion = "6.0"
  62. addopts = "-ra -q"
  63. testpaths = ["tests"]
  64. DJANGO_SETTINGS_MODULE='emus_web.settings'
  65. [tool.poetry.scripts]
  66. emus = "emus_web.cli:main"
  67. [build-system]
  68. requires = ["poetry-core>=1.0.0"]
  69. build-backend = "poetry.core.masonry.api"