2023-08-20 14:43:52 +02:00

67 lines
1.4 KiB
TOML

[tool.poetry]
name = "fastapi-sqlalchemy-asyncpg"
version = "0.0.6"
description = ""
authors = ["Jakub Miazek <the@grillazz.com>"]
packages = []
license = "MIT"
[tool.poetry.dependencies]
python = "^3.11"
fastapi = "0.101.1"
pydantic = {version = "2.2.1", extras = ["email"]}
pydantic-settings = "2.0.3"
sqlalchemy = "2.0.20"
uvicorn = { version = "0.23.2", extras = ["standard"]}
asyncpg = "0.28.0"
alembic = "1.11.3"
httpx = "*"
pytest-cov = "*"
pytest-asyncio = "*"
uvloop = "*"
httptools = "*"
rich = "*"
cryptography = "*"
pyjwt = {version = "*", extras = ["cryptography"]}
redis = "*"
[tool.poetry.dev-dependencies]
devtools = { extras = ["pygments"], version = "*" }
black = "*"
safety = "*"
pyupgrade = "*"
ipython = "*"
ruff = "*"
[tool.poetry.group.dev.dependencies]
tryceratops = "^1.1.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 120
select = ["E", "F", "UP", "N", "C", "B"]
# Exclude a variety of commonly ignored directories.
exclude = ["alembic",]
# Assume Python 3.10.
target-version = "py311"
[tool.ruff.flake8-quotes]
docstring-quotes = "double"
[tool.ruff.flake8-bugbear]
extend-immutable-calls = ["fastapi.Depends",]
[tool.pytest.ini_options]
addopts = "-v --doctest-modules --doctest-glob=*.md --ignore=alembic"
asyncio_mode = "strict"
env_files = [".env"]
[tool.tryceratops]
exclude = ["alembic",]