50 lines
976 B
TOML
50 lines
976 B
TOML
[project]
|
|
name = "backend"
|
|
version = "0.1.0"
|
|
description = ""
|
|
readme = "README.md"
|
|
requires-python = ">=3.13"
|
|
license = { text = "MIT" }
|
|
dependencies = [
|
|
"django",
|
|
"django-environ",
|
|
"django-jazzmin",
|
|
"djangorestframework",
|
|
"djangorestframework-simplejwt",
|
|
"drf-yasg",
|
|
"django-cors-headers",
|
|
"whitenoise",
|
|
"mysqlclient",
|
|
"django-tailwind-cli",
|
|
"django-htmx",
|
|
"gunicorn",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"ruff>=0.14.2",
|
|
"pytest>=8.0.0",
|
|
"pytest-django>=4.9.0",
|
|
]
|
|
|
|
[tool.ruff]
|
|
line-length = 88
|
|
target-version = "py313"
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E", # pycodestyle errors
|
|
"W", # pycodestyle warnings
|
|
"F", # pyflakes
|
|
"I", # isort
|
|
"B", # flake8-bugbear
|
|
"C4", # flake8-comprehensions
|
|
"UP", # pyupgrade
|
|
]
|
|
ignore = [
|
|
"E501", # line too long, handled by formatter
|
|
"B008", # do not perform function calls in argument defaults
|
|
]
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-first-party = ["config"] |