Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (44 loc) · 1.58 KB
/
Copy pathpyproject.toml
File metadata and controls
49 lines (44 loc) · 1.58 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
# Emit thread stacks for a stalled test without changing its pass/fail budget.
faulthandler_timeout = 60
# A stalled test must stop the run instead of sitting there all night: on
# 2026-09-13 a TUI test blocked inside CreateProcess (ACL hardening, see
# core/private_storage.py) and the suite produced no output until morning.
faulthandler_exit_on_timeout = true
filterwarnings = [
"error::pytest.PytestUnhandledThreadExceptionWarning",
"error::pytest.PytestUnraisableExceptionWarning",
]
[tool.ruff]
target-version = "py312"
line-length = 88
[tool.ruff.lint]
ignore = ["E402"]
[tool.ruff.lint.per-file-ignores]
# The repository root is a historical package named `DeepCode`; Ruff derives
# that parent name when linting newly added package initializers.
"core/mcp/__init__.py" = ["N999"]
# Bundled Skills are pinned, provenance-tracked upstream packages. Lint the
# DeepCode host around them without silently rewriting vendor workflows.
"core/skills/builtin/**" = ["ALL"]
[tool.check-manifest]
# The Python sdist contains the shared Agent runtime and CLI. Desktop, tests,
# CI/development material, and README artwork are distributed from the source
# repository and Desktop release bundles instead of the PyPI source archive.
ignore = [
".dockerignore",
".pre-commit-config.yaml",
"assets/**",
"CONTRIBUTORS.md",
"desktop/**",
"docs/**",
"examples/**",
"rust-toolchain.toml",
"scripts/**",
"tests/**",
]