50 lines
1.1 KiB
TOML
50 lines
1.1 KiB
TOML
[project]
|
|
name = "gallery"
|
|
description = ""
|
|
version = "0.10.4"
|
|
readme = "README.md"
|
|
authors = [{ name = "shmyga", email = "shmyga.z@gmail.com" }]
|
|
requires-python = ">=3.14,<4.0"
|
|
dependencies = [
|
|
"aiohttp (>=3.14,<4.0)",
|
|
"beautifulsoup4 (>=4.15,<5.0)",
|
|
"dateparser (>=1.4,<2.0)",
|
|
"pydantic (>=2.13,<3.0)",
|
|
"aiocache[redis] (>=0.12,<0.13)",
|
|
"playwright (>=1.62.0,<2.0.0)",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
app = [
|
|
"fastapi[standard] (>=0.139,<0.140)",
|
|
"jinja2 (>=3.1,<4.0)",
|
|
"babel (>=2.18,<3.0)",
|
|
]
|
|
|
|
[dependency-groups]
|
|
test = ["pytest (>=9.1,<10.0)", "pytest-asyncio (>=1.4,<2.0)", "coverage (>=7.16.1,<8.0.0)"]
|
|
dev = ["pylint (>=4.0.6,<5.0.0)", "black (>=26.5,<27.0)", "isort (>=8.0,<9.0)"]
|
|
|
|
[project.scripts]
|
|
gallery = "gallery.main:run"
|
|
|
|
[tool.poetry]
|
|
packages = [{ include = "gallery" }]
|
|
requires-poetry = ">=2.0.0,<3.0.0"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core (>=2.0.0,<3.0.0)"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.black]
|
|
line-length = 120
|
|
target-version = ["py314"]
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = "-p no:warnings"
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|