-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyrightconfig.json
37 lines (37 loc) · 962 Bytes
/
pyrightconfig.json
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
// https://microsoft.github.io/pyright/#/configuration
{
"include": [
"cicd_utils",
"docs",
"misc",
"src",
"tests",
"*.py"
],
"exclude": [
"docs/build",
"**/__pycache__"
],
"extraPaths": [
"cicd_utils"
],
"pythonVersion": "3.9",
"pythonPlatform": "All",
"typeCheckingMode": "strict",
// stricter settings
"deprecateTypingAliases": true,
"reportMissingModuleSource": "error",
"reportCallInDefaultInitializer": "error",
"reportImplicitOverride": "error",
"reportImportCycles": "error",
"reportMissingSuperCall": "warning",
"reportPropertyTypeMismatch": "error",
"reportShadowedImports": "error",
"reportUninitializedInstanceVariable": "error",
"reportUnnecessaryTypeIgnoreComment": "error",
// turn off some of the strictest settings
"reportMissingTypeStubs": "none",
"reportUnknownMemberType": "none",
"reportUnknownArgumentType": "none",
"reportUnknownVariableType": "none"
}