-
Notifications
You must be signed in to change notification settings - Fork 82
/
Copy pathpyproject.toml
54 lines (49 loc) · 1.38 KB
/
pyproject.toml
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
[tool.pyright]
pythonVersion = "3.8"
typeCheckingMode = "off" # "basic"
#
# This is level 1
#
#reportOptionalOperand = "none"
#reportGeneralTypeIssues = "none"
#reportOptionalMemberAccess = "none"
reportPrivateUsage = "error"
reportAssertAlwaysTrue = "error"
reportUnusedImport = "error"
reportUnusedFunction = "error"
reportUnusedCallResult = "error"
reportUnusedVariable = "error"
reportInvalidTypeVarUse = "error"
reportOverlappingOverload = "error"
reportPropertyTypeMismatch = "error"
reportUntypedClassDecorator = "error"
reportUnnecessaryCast = "error"
reportUnnecessaryComparison = "error"
reportUnnecessaryIsInstance = "error"
reportUnsupportedDunderAll = "error"
reportUntypedFunctionDecorator = "error"
reportWildcardImportFromLibrary = "error"
reportImplicitStringConcatenation = "error"
#
# This is level 2
#
#reportMissingImports = "error"
#reportGeneralTypeIssues = "error"
#reportOptionalMemberAccess = "error"
#
# This is level 3
#
#reportMissingParameterType = "error"
#
# This is level 4, needed before reportUnknownMemberType
#
#reportUnknownArgumentType = "error"
#
# This is level 5
#
#reportUnknownLambdaType = "error"
#reportUnknownMemberType = "error"
#reportUnknownParameterType = "error"
#reportUnknownVariableType = "error"
#reportUntypedClassDecorator = "error"
#reportUntypedFunctionDecorator = "error"