-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
71 lines (59 loc) · 1.77 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
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "questionpy-server"
description = "QuestionPy application server"
authors = ["Technische Universität Berlin, innoCampus <[email protected]>"]
license = "MIT"
homepage = "https://questionpy.org"
version = "0.4.0"
packages = [
{ include = "questionpy_common" },
{ include = "questionpy_server" }
]
[tool.poetry.dependencies]
python = "^3.11"
aiohttp = "^3.11.11"
pydantic = "^2.8.2"
polyfactory = "^2.15.0"
pydantic-settings = "^2.2.1"
watchdog = "^4.0.0"
semver = "^3.0.2"
psutil = "^6.0.0"
jinja2 = "^3.1.5"
[tool.poetry.group.dev.dependencies]
types-psutil = "^6.0.0.20240621"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = "^8.1.1"
pytest-aiohttp = "^1.0.5"
pytest-md = "^0.2.0"
coverage = { extras = ["toml"], version = "^7.4.4" }
pytest-archon = "^0.0.6"
[tool.poetry.group.linter]
dependencies = { ruff = "^0.6.3" }
optional = true
[tool.poetry.group.type-checker]
dependencies = { mypy = "^1.11.0" }
optional = true
[tool.ruff]
extend = "ruff_defaults.toml"
[tool.ruff.lint.extend-per-file-ignores]
# unused-async (aiohttp handlers must be async even if they don't use it)
"**/questionpy_server/web/**/*" = ["RUF029"]
[tool.pytest.ini_options]
# https://github.com/pytest-dev/pytest-asyncio#auto-mode
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope="function"
# This section is read automatically by Coverage.py when its working directory is .
# https://coverage.readthedocs.io/en/6.5.0/config.html#configuration-reference
[tool.coverage.run]
branch = true
source = ["questionpy_common", "questionpy_server"]
[tool.mypy]
plugins = "pydantic.mypy"
disallow_untyped_defs = true
strict_optional = true
show_error_codes = true