-
Notifications
You must be signed in to change notification settings - Fork 119
Expand file tree
/
Copy pathpyrightconfig.json
More file actions
63 lines (57 loc) · 2.11 KB
/
Copy pathpyrightconfig.json
File metadata and controls
63 lines (57 loc) · 2.11 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
{
// Checked in deliberately: VS Code's Pylance reads this file automatically and
// its "typeCheckingMode" overrides the per-user python.analysis setting, so the
// editor's red squiggles and CI's `uv run pyright` enforce exactly the same
// thing for everyone.
"include": [
"frontier_agent",
"apodex",
"workflows",
"plugins",
"benchmarks",
"deploy",
"tools",
"scripts"
],
"exclude": [
"**/.venv",
"**/node_modules",
"**/__pycache__",
"**/.*_cache",
"benchmarks/frontierchallenge"
],
// "ignore" rather than "exclude": excluded files are dropped from the
// workspace pass but Pylance still analyses and squiggles them once opened,
// whereas ignored paths stay quiet in the editor too.
"ignore": [
// Tests. Deferred, not disowned: 62% / 46% annotated, near-zero payoff
// relative to production code. Revisit once production is strict.
"tests",
"apodex/tests",
// Generated-shaped per-query scorer trees.
"benchmarks/frontier_search_bench/eval/verifiable/scorers/query_*",
// NOT type-checkable, by design — these are source *fragments*, not
// modules. _create_file.py and _doc_reader.py concatenate them and exec the
// result, so shared helpers (_ensure, _res, _trace) are defined in the
// _core fragment and only resolve after concatenation. Each file already
// carries `# ruff: noqa: F821` for the same reason. Checking them
// standalone yields 168 unavoidable false positives.
"plugins/tools/_reader_core.py",
"plugins/tools/_reader_docx.py",
"plugins/tools/_reader_pdf.py",
"plugins/tools/_reader_pptx.py",
"plugins/tools/_reader_xlsx.py",
"plugins/tools/_writer_core.py",
"plugins/tools/_writer_docx.py",
"plugins/tools/_writer_pptx.py",
"plugins/tools/_writer_text.py",
"plugins/tools/_writer_xlsx.py"
],
// Resolve the same interpreter Pylance picks up, so third-party imports
// resolve identically in the editor and on the command line.
"venvPath": ".",
"venv": ".venv",
"pythonVersion": "3.12",
"pythonPlatform": "All",
"typeCheckingMode": "standard"
}