-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
115 lines (103 loc) · 2.41 KB
/
pyproject.toml
File metadata and controls
115 lines (103 loc) · 2.41 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[project]
name = "aggregator-proxy"
version = "0.3.1.dev1"
description = "REST proxy for a NSI aggregator."
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE"]
keywords = ["NSI", "SOAP", "NML", "network"]
authors = [
{name = "Hans Trompert", email = "hans.trompert@surf.nl"},
]
maintainers = [
{name = "Hans Trompert", email = "hans.trompert@surf.nl"},
]
requires-python = ">=3.13"
dependencies = [
"fastapi[standard]==0.136.1",
"httpx==0.28.1",
"lxml==6.1.0",
"pydantic-settings==2.14.0",
"PyJWT[crypto]==2.12.1",
"structlog==25.5.0",
"uvicorn[standard]==0.46.0",
]
[project.urls]
Homepage = "https://github.com/workfloworchestrator/nsi-aggregator-proxy"
Issues = "https://github.com/workfloworchestrator/nsi-aggregator-proxy/issues"
[tool.setuptools.packages.find]
include = ["aggregator_proxy*"]
[project.scripts]
aggregator-proxy = "aggregator_proxy.main:run"
[dependency-groups]
dev = [
"lxml-stubs==0.5.1",
"mypy==1.20.2",
"pytest==9.0.3",
"pytest-asyncio==1.3.0",
"pytest-httpx==0.36.2",
"ruff==0.15.12",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.uv]
package = true
[tool.mypy]
ignore_missing_imports = true
disallow_untyped_calls = false
disallow_untyped_defs = true
disallow_incomplete_defs= true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = false
warn_unused_ignores = true
warn_return_any = true
warn_unreachable = true
strict_equality = true
show_error_codes = true
show_column_numbers = true
exclude = [
]
[[tool.mypy.overrides]]
module = [
]
disallow_untyped_defs = false
disallow_incomplete_defs = false
disallow_untyped_decorators = false
[tool.ruff]
target-version = "py312"
line-length = 120
[tool.ruff.lint]
select = [
"A", # Builtins
"B", # Bugbear
"C4", # Comprehensions
"D", # Docstrings
"E", # pycodestyle Error
"F", # Pyflakes
"G", # Logging format
"I", # Isort
"ISC", # Implicit string concat
"S", # Bandit
"T20", # Print
"W", # pycodestyle Warning
# "UP", # Pyupgrade
]
# Match flake8-docstrings default behavior
pydocstyle.convention = "google" # or "numpy" / "pep257"
exclude = [
".git",
".cache",
".eggs",
"__pycache__",
"venv",
".venv",
]
ignore = [
"D100",
"D104",
"S101",
"T201",
]
per-file-ignores = { "tests/**" = ["D101", "D102", "D103"] }