-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
57 lines (50 loc) · 1.49 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
[tool.poetry]
name = "iscc-did-driver"
version = "0.1.0"
description = ""
authors = ["Titusz Pan <titusz.pan@gmail.com>"]
readme = "README.md"
packages = [{include = "iscc_did_driver"}]
[tool.poetry.scripts]
iscc-did-driver = 'iscc_did_driver.main:main'
[tool.poetry.dependencies]
python = ">=3.8,<3.11"
blacksheep = "^1.2"
uvicorn = "^0.18"
httpx = "^0.23"
gunicorn = "^20.1"
pydantic = {extras = ["dotenv"], version = "^1.10.2"}
loguru = "^0.6"
orjson = "^3.8"
iscc-core = "^0.2"
cbor2 = "^5.4.3"
sentry-sdk = "^1.9.10"
content-negotiation = "^1.1.1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.1"
abnf-to-regexp = "^1.1"
black = "^22.8"
poethepoet = "^0.16"
pytest-asyncio = "^0.19"
schemathesis = "^3.17"
datamodel-code-generator = "^0.13"
watchfiles = "^0.17.0"
[tool.black]
line-length = 100
target-version = ['py38']
preview = true
[tool.datamodel-codegen]
input = "iscc_did_driver/openapi.yaml"
encoding = "utf-8"
disable-timestamp = true
target-python-version = "3.8"
aliases = "iscc_did_driver/aliases.json"
[tool.poe.tasks]
codegen = { cmd = "datamodel-codegen --output iscc_did_driver/schema.py", help="Build code from OpenAPI Schema"}
format = { cmd = "poetry run python -m iscc_did_driver.format", help = "Code style formating"}
black = { cmd = "poetry run black .", help = "Code style formating with black" }
test = { cmd = "poetry run pytest", help = "Run tests" }
all = ["codegen", "format", "black", "test"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"