-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
43 lines (38 loc) · 941 Bytes
/
pyproject.toml
File metadata and controls
43 lines (38 loc) · 941 Bytes
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
[project]
name = "oicana-example-python-fastapi"
version = "0.1.0"
description = "Example application using Oicana Python integration for PDF templating"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
dependencies = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.32.0",
"oicana>=0.1.0",
"python-multipart>=0.0.12",
]
[dependency-groups]
dev = [
"pytest>=8.3.0",
"httpx>=0.28.0",
"ruff>=0.8.0",
"mypy>=1.13.0",
]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "PL"]
ignore = ["PLR2004", "PLR0913", "B008"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
check_untyped_defs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]