-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
61 lines (54 loc) · 1.44 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
[tool.pdm]
[project]
name = "ocrd-monitor"
version = "0.1.0"
description = "A frontend to the OCRD Manager"
authors = [
{ name = "Sven Marcus", email = "[email protected]" },
{ name = "Markus Weigelt", email = "[email protected]" },
{ name = "Robert Sachunsky", email = "[email protected]" },
]
dependencies = [
"fastapi>=0.95.0",
"Jinja2>=3.1.2",
"websockets>=10.4",
"uvicorn>=0.19.0",
"httpx>=0.24.1",
"beanie>=1.18.0",
"pydantic-settings>=2.0.2",
"pydantic>=2.1.1",
]
requires-python = ">=3.10"
license = { text = "MIT" }
[project.optional-dependencies]
dev = [
"beautifulsoup4>=4.11.1",
"mypy>=1.4.0",
"pytest>=7.2.2",
"pytest-asyncio>=0.21.0",
"testcontainers>=3.7.1",
"black>=23.1.0",
"types-requests>=2.28.11.15",
"types-beautifulsoup4>=4.12.0.0",
"pytest-clarity>=1.0.1",
"pytest-httpx>=0.23.1",
]
nox = ["nox>=2022.11.21"]
[tool.mypy]
plugins = ["pydantic.mypy"]
[tool.ruff]
line-length = 100
[tool.pytest.ini_options]
markers = [
"integration: mark test as integration test"
]
[tool.pdm.scripts]
test = "pytest tests -m 'not integration'"
test-integration = "pytest tests"
monitor = "uvicorn --host 0.0.0.0 --port 5000 'ocrdmonitor.main:app'"
[[tool.mypy.overrides]]
module = ["testcontainers.*", "motor.motor_asyncio"]
ignore_missing_imports = true
[build-system]
requires = ["pdm-pep517>=1.0.0"]
build-backend = "pdm.pep517.api"