Files
listen/pyproject.toml
T
2025-01-21 09:21:54 +08:00

61 lines
1.4 KiB
TOML

[tool.poetry]
authors = ["admin <admin@example.com>"]
description = "FastAPI project generated using minimal-fastapi-postgres-template."
name = "app"
version = "0.1.0-alpha"
[tool.poetry.dependencies]
python = "^3.13"
alembic = "^1.14.0"
asyncpg = "^0.30.0"
bcrypt = "^4.2.1"
fastapi = "^0.115.6"
pydantic = {extras = ["dotenv", "email"], version = "^2.10.5"}
pydantic-settings = "^2.7.1"
pyjwt = "^2.10.1"
python-multipart = "^0.0.20"
sqlalchemy = "^2.0.37"
[tool.poetry.group.dev.dependencies]
coverage = "^7.6.10"
freezegun = "^1.5.1"
greenlet = "^3.1.1"
httpx = "^0.28.1"
mypy = "^1.14.1"
pre-commit = "^4.0.1"
pytest = "^8.3.4"
# do not bump pytest-asyncio until https://github.com/pytest-dev/pytest-asyncio/issues/706 resolved
pytest-asyncio = "0.21.2"
pytest-cov = "^6.0.0"
pytest-xdist = "^3.6.1"
ruff = "^0.9.1"
types-passlib = "^1.7.7.20241221"
uvicorn = {extras = ["standard"], version = "^0.34.0"}
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]
[tool.pytest.ini_options]
addopts = "-vv -n auto --cov --cov-report xml --cov-report term-missing --cov-fail-under=95"
asyncio_mode = "auto"
testpaths = ["app/tests"]
[tool.coverage.run]
concurrency = ["greenlet"]
omit = ["app/tests/*"]
source = ["app"]
[tool.mypy]
python_version = "3.13"
strict = true
[tool.ruff]
target-version = "py313"
[tool.ruff.lint]
# pycodestyle, pyflakes, isort, pylint, pyupgrade
ignore = ["E501"]
select = ["E", "F", "I", "PL", "UP", "W"]