-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (76 loc) · 1.94 KB
/
Copy pathpyproject.toml
File metadata and controls
84 lines (76 loc) · 1.94 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
[tool.poetry]
name = "netengine"
version = "0.1.0"
description = "NetEngines: Self-contained, authority-autonomous digital worlds"
authors = ["NetEngine Team <team@netengine.io>"]
readme = "README.md"
license = "MIT"
[tool.poetry.scripts]
netengine = "netengine.cli.main:cli"
[tool.poetry.dependencies]
python = "^3.13"
pydantic = "^2.13"
pyyaml = "^6.0"
structlog = "^24.1.0"
python-dotenv = "^1.0"
loguru = "^0.7"
docker = "^7.0"
aiohttp = "^3.9"
dnspython = "^2.6"
asyncpg = "^0.30"
supabase = "^2.0"
fastapi = ">=0.115"
omegaconf = "^2.3"
prometheus-client = "^0.25.0"
cryptography = ">=44,<49"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4"
pytest-asyncio = "^0.21"
pytest-cov = "^4.1"
mypy = "^1.7"
types-PyYAML = "^6.0"
black = "^24.1"
isort = "^5.13"
flake8 = "^6.1"
pre-commit = "^3.5"
httpx = "^0.28.1"
[tool.mypy]
strict = true
python_version = "3.13"
exclude = [
"netengine/api/",
"netengine/cli/",
"netengine/phases/",
"netengine/handlers/substrate\\.py",
"netengine/handlers/dns\\.py",
"netengine/handlers/pki_handler\\.py",
"netengine/handlers/phase_pki\\.py",
"netengine/handlers/oidc_handler\\.py",
"netengine/handlers/mail_handler\\.py",
"netengine/handlers/minio_handler\\.py",
"netengine/handlers/whois_server\\.py",
"netengine/logs/middleware\\.py",
"netengine/logs/sinks\\.py",
]
[[tool.mypy.overrides]]
module = "docker.*"
ignore_missing_imports = true
[tool.black]
line-length = 100
target-version = ["py313"]
[tool.isort]
profile = "black"
line_length = 100
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"
addopts = "-v --strict-markers --tb=short"
markers = [
"unit: Unit tests",
"integration: Integration tests (requires Docker)",
"slow: Slow tests (image pulls, Keycloak startup, etc.)",
"e2e: Full-stack tests against live Docker infrastructure (--run-e2e to enable)",
]