-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (93 loc) · 2.44 KB
/
Copy pathpyproject.toml
File metadata and controls
104 lines (93 loc) · 2.44 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
# Project Metadata
[project]
name = "lifeos"
version = "0.1.0"
requires-python = ">=3.11"
[project.scripts]
lifeos = "runtime.cli:main"
[tool.setuptools]
packages = [
"lifeos",
"runtime",
"recursive_kernel",
"doc_steward",
"opencode_governance",
"project_builder",
]
[tool.pytest.ini_options]
# Merged configuration from pytest.ini and doc_steward/scripts/pyproject.toml
minversion = "6.0"
testpaths = [
"runtime/tests",
"tests/memory",
"tests_doc",
"tests_recursive"
]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"
pythonpath = [
".",
"project_builder",
"runtime"
]
# Addopts: verbose mode with ignored paths for excluded tests
# Canonical classification source: config/certification_profiles.yaml
addopts = [
"-v",
# Archived legacy tests from pre-Phase 3 rewrite — not maintained
"--ignore=runtime/tests/archive_legacy_r6x",
# 25/27 failing — WSL git worktree ops too slow for CI (W0-T05)
"--ignore=tests_recursive/test_steward_runner.py",
# CI-classified — platform-specific hardlink defense coverage
"--ignore=runtime/tests/test_sandbox_remediation.py",
# CI-classified — deterministic CEOQueue approval receipt coverage
"--ignore=runtime/tests/test_demo_approval_determinism.py",
# hangs — calls full E2E CLI pipeline (blocks without LLM backend)
"--ignore=runtime/tests/test_e2e_mission_cli.py",
# hangs — creates isolated worktree + venv (too slow for CI/closure)
"--ignore=runtime/tests/test_isolated_smoke_test.py",
# hangs — live Zen API calls (requires ZEN_BUILDER_KEY; use SKIP_LIVE_ZEN=1 to run)
"--ignore=runtime/tests/test_opencode_stage1_5_live.py",
]
# Filter warnings
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::pytest.PytestDeprecationWarning"
]
# Custom markers
markers = [
"cold_start: marks tests that measure or test cold start (first-run) performance and initialization"
]
[tool.ruff]
target-version = "py311"
line-length = 100
extend-exclude = [
"artifacts",
"spikes",
]
[tool.ruff.lint]
select = [
"E",
"F",
"I",
"B",
]
[tool.mypy]
python_version = "3.11"
ignore_missing_imports = true
warn_unused_configs = true
exclude = [
'^artifacts/',
'^spikes/',
'^runtime/tests/',
'^tests_doc/',
'^tests_recursive/',
]
[[tool.mypy.overrides]]
module = [
"runtime.tests.*",
"tests_doc.*",
"tests_recursive.*",
]
ignore_errors = true