forked from UpstreamDataInc/goosebit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
74 lines (61 loc) · 1.54 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[tool.poetry]
name = "goosebit"
version = "0.2.4"
description = ""
authors = ["Upstream Data <brett@upstreamdata.ca>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
fastapi = {extras = ["uvicorn"], version = "^0.111.0"}
python-multipart = "^0.0.9"
jinja2 = "^3.1.4"
itsdangerous = "^2.2.0"
tortoise-orm = "^0.21.4"
aerich = "^0.7.2"
websockets = "^12.0"
argon2-cffi = "^23.1.0"
joserfc = "^1.0.0"
semver = "^3.0.2"
libconf = "^2.0.1"
opentelemetry-distro = "^0.49b1"
opentelemetry-instrumentation-fastapi = "^0.49b1"
opentelemetry-exporter-prometheus = "^0.49b1"
aiocache = "^0.12.2"
httpx = "^0.27.0"
pydantic-settings = "^2.4.0"
asyncpg = { version = "^0.29.0", optional = true }
[tool.poetry.extras]
postgresql = ["asyncpg"]
[tool.poetry.group.dev.dependencies]
isort = "^5.13.2"
black = "^24.2.0"
pre-commit = "^3.6.2"
flake8 = "7.1.0"
mypy = "^1.11.2"
types-pyyaml = "^6.0.12.20240808"
faker = "^30.1.0"
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.6.0"
mkdocs-material = "^9.5.29"
[tool.poetry.group.tests.dependencies]
pytest = "^8.3.1"
pytest-asyncio = "^0.24.0"
pytest-md-report = "^0.6.2"
pytest_httpserver = "^1.1.0"
[tool.poetry.scripts]
generate-sample-data = "sample_data:main"
[tool.pytest]
asyncio_mode = "auto"
[tool.isort]
profile = "black"
[tool.black]
line-length = 120
[tool.aerich]
tortoise_orm = "goosebit.db.config.TORTOISE_CONF"
location = "goosebit/db/migrations"
src_folder = "./goosebit"
[tool.mypy]
explicit_package_bases = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"