web/web/pyproject.toml

55 lines
1 KiB
TOML

[tool.black]
line-length = 220
[tool.poetry]
name = "freedium web"
version = "0.1.0"
description = ""
authors = ["ZhymabekRoman <robanokssamit@yandex.ru>"]
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.12"
pickledb = "0.9.2"
html5lib = "1.1"
sentry-sdk = {version = "1.29.2", extras = ["fastapi"]}
uvicorn = "0.27.1"
jinja2 = "3.1.2"
fastapi = "0.108.0"
gunicorn = "21.2.0"
redis = {version = "4.6.0", extras = ["hiredis"]}
xkcdpass = "1.19.3"
loguru = "0.6.0"
anyio = "<=4.0.0"
pydantic-settings = "^2.5.2"
[tool.poetry.group.dev.dependencies]
djlint = "^1.35.2"
ruff = "^0.6.6"
black = "^24.8.0"
mypy = "^1.11.2"
[tool.ruff]
# extend-select = ["I"]
target-version = "py312"
select = [
"E", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade,
"I", # isort
"C4", # pycodestyle
]
line-length = 120
per-file-ignores = {"__init__.py" = ["F401"]}
ignore = ["UP007"]
[tool.mypy]
strict = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"