-
Notifications
You must be signed in to change notification settings - Fork 129
Expand file tree
/
Copy pathpyproject.toml
More file actions
30 lines (26 loc) · 1.04 KB
/
Copy pathpyproject.toml
File metadata and controls
30 lines (26 loc) · 1.04 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
[tool.ruff]
target-version = "py312"
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "I"]
ignore = [
"E402", # module-import-not-at-top — MCP servers require sys.path setup before imports
"E501", # line-too-long — will enforce incrementally
"E722", # bare-except — legacy patterns, fix incrementally
"F841", # unused-variable — legacy patterns, fix incrementally
]
[tool.ruff.lint.per-file-ignores]
"core/tests/*" = ["F401"]
"core/mcp/onboarding_server.py" = ["F401"] # imports used to test package availability
"core/mcp/work_server.py" = ["F401"] # optional imports for feature detection
"core/paths.py" = ["F401"] # sys imported for future use
# relative_files lets coverage data recorded on the macOS shard runners be
# combined and reported on a Linux aggregator (absolute runner paths differ).
[tool.coverage.run]
relative_files = true
[tool.pytest.ini_options]
testpaths = ["core/tests"]
python_files = ["test_*.py"]
markers = [
"fuzz: slower property-based and large-fixture cases run by nightly quality",
]