forked from fable-compiler/Fable
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyrightconfig.json
More file actions
24 lines (24 loc) · 1.16 KB
/
pyrightconfig.json
File metadata and controls
24 lines (24 loc) · 1.16 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
{
"pythonVersion": "3.12",
"typeCheckingMode": "standard",
"reportUnusedImport": false, // Generated code may have unused imports due to optimizations, will be removed by Ruff formatter
"reportPrivateUsage": false, // Getters/setters reference private members from outside the class
"reportUnusedVariable": false, // Generated code may have unused variables
"reportMissingTypeStubs": false, // Pyright is confused by Fable Library code structure
"reportMissingModuleSource": false, // Fable generates code that from F# and Rust
"reportConstantRedefinition": false, // Fable preserves casing for variables starting with uppercase
"reportUnnecessaryIsInstance": false, // Not a problem in generated code (look into this later)
"reportUnnecessaryComparison": false, // Generated tests do this on purpose
"reportImportCycles": true,
"reportMissingImports": true,
"reportUnnecessaryCast": true,
"reportDuplicateImport": true,
"reportOverlappingOverload": true,
"reportInconsistentConstructor": true,
"reportImplicitStringConcatenation": true,
"reportUnnecessaryTypeIgnoreComment": true,
"exclude": [
"**/.venv/**",
"**/node_modules/**"
]
}