forked from davekilleen/Dex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
22 lines (19 loc) · 770 Bytes
/
pyproject.toml
File metadata and controls
22 lines (19 loc) · 770 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[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
[tool.pytest.ini_options]
testpaths = ["core/tests"]
python_files = ["test_*.py"]