-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (70 loc) · 2.22 KB
/
pyproject.toml
File metadata and controls
83 lines (70 loc) · 2.22 KB
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
75
76
77
78
79
80
81
82
83
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[project]
name = "questionpy-server"
description = "QuestionPy application server"
license = { file = "LICENSE.md" }
urls = { homepage = "https://questionpy.org" }
version = "0.8.0"
authors = [
{ name = "TU Berlin innoCampus" },
{ email = "info@isis.tu-berlin.de" }
]
requires-python = ">=3.12,<4.0"
dependencies = [
"aiohttp >=3.11.18, <4.0.0",
"pydantic >=2.11.4, <3.0.0",
"pydantic-settings >=2.9.1, <3.0.0",
"watchdog >=6.0.0, <7.0.0",
"semver >=3.0.4, <4.0.0",
"psutil >=7.0.0, <8.0.0",
"jinja2 >=3.1.6, <4.0.0",
"pyyaml >=6.0.2, <7.0.0"
]
[tool.poetry.group.dev.dependencies]
types-psutil = ">=7.0.0.20250516, <8.0.0"
types-pyyaml = ">=6.0.12.20250516, <7.0.0"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = ">=8.3.5, <9.0.0"
pytest-aiohttp = ">=1.1.0, <2.0.0"
pytest-md = ">=0.2.0, <0.3.0"
coverage = { extras = ["toml"], version = ">=7.8.0, <8.0.0" }
pytest-archon = ">=0.0.6, <0.1.0"
polyfactory = ">=2.21.0, <3.0.0"
[tool.poetry.group.linter]
dependencies = { ruff = ">=0.11.10, <0.12.0" }
optional = true
[tool.poetry.group.type-checker]
dependencies = { mypy = ">=1.15.0, <2.0.0" }
optional = true
[tool.poetry]
packages = [
{ include = "questionpy_common" },
{ include = "questionpy_server" }
]
requires-poetry = ">=2.0.0,<3.0.0"
[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.ruff.lint.pylint]
allow-dunder-method-names = ["__get_pydantic_core_schema__"]
[tool.pytest.ini_options]
addopts = "--doctest-modules"
# 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