-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
46 lines (39 loc) · 939 Bytes
/
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
[tool.poetry]
name = "digstsgql"
version = "0.1.0"
description = "Semantic GraphQL project for Digitaliseringsstyrelsen"
authors = ["Magenta ApS <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.11"
more-itertools = "^10"
pydantic = "^2"
pydantic-settings = "^2"
strawberry-graphql = "^0.253"
graphql-core = "^3"
starlette = "^0.41"
starlette-context = "^0.3"
uvicorn = "^0.29"
sqlalchemy = "^2"
psycopg = "^3"
httpx = "^0.28"
[tool.poetry.group.pre-commit.dependencies]
mypy = "^1"
pre-commit = "^3"
ruff = "^0.7"
deptry = "^0.16"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
plugins = ["pydantic.mypy", "strawberry.ext.mypy_plugin"]
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.lint.isort]
force-single-line = true
[tool.deptry.per_rule_ignores]
DEP002 = [
# uvicorn is used by the Dockerfile
"uvicorn",
# psycopg is used by sqlalchemy
"psycopg",
]