-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyrightconfig.json
More file actions
76 lines (70 loc) · 2.08 KB
/
pyrightconfig.json
File metadata and controls
76 lines (70 loc) · 2.08 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
{
"include": ["numberlink", "examples", "tests"],
"exclude": [
"**/.pixi/**",
"**/__pycache__/**",
"**/.pytest_cache/**",
"**/.mypy_cache/**",
"**/.ruff_cache/**",
"**/*.egg-info/**",
"**/build/**",
"**/dist/**",
"**/.git/**",
"**/.venv/**",
"**/node_modules/**",
"**/bower_components/**",
"**/logs/**",
"**/outputs/**",
"**/checkpoints/**",
"**/.cache/**",
"**/.tox/**",
"**/.eggs/**",
"**/docs/_*"
// "**/typings/**",
],
"ignore": ["tests/"],
// "defineConstant": {
// "DEBUG": true
// },
// "stubPath": "numberlink/stubs",
"reportUnnecessaryTypeIgnoreComment": "warning",
"reportUnnecessaryCast": "warning",
"reportUnnecessaryComparison": "warning",
"reportUnnecessaryContains": "warning",
"reportUnnecessaryIsInstance": "warning",
// "reportMissingSuperCall": "warning",
"reportUnusedClass": "warning",
"reportUnusedExpression": "warning",
"reportCallIssue": "error",
"reportMissingImports": "error",
"reportMissingTypeStubs": false,
"typeCheckingMode": "basic",
"reportDeprecated": "warning",
"reportAssignmentType": "error",
"reportUnusedVariable": "warning",
"reportUnusedFunction": "warning",
"reportAssertAlwaysTrue": "warning",
"reportGeneralTypeIssues": "error",
"reportImportCycles": "warning",
"reportUnreachable": "warning",
"reportRedeclaration": "error",
"reportAttributeAccessIssue": "error",
"reportInconsistentConstructor": "warning",
"reportConstantRedefinition": "warning",
"reportIndexIssue": "error",
"reportMissingTypeArgument": "warning",
"reportUndefinedVariable": "error",
"reportUnusedImport": "warning",
"enableReachabilityAnalysis": true,
"deprecateTypingAliases": true,
// "pythonPlatform": "Linux",
// Provide a conservative execution environment for the language server so it
// doesn't pick a bleeding-edge Python runtime. Use 3.12 which is supported
// by the project range and typically stable for the language server.
"executionEnvironments": [
{
"root": "./"
// "pythonVersion": "3.12"
}
]
}