mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 08:47:39 +08:00
56 lines
2.0 KiB
JSON
56 lines
2.0 KiB
JSON
{
|
|
"typeshedPath": ".",
|
|
"include": [
|
|
"stdlib",
|
|
"stubs",
|
|
"test_cases"
|
|
],
|
|
"exclude": [
|
|
"**/@python2"
|
|
],
|
|
"typeCheckingMode": "basic",
|
|
"strictListInference": true,
|
|
"strictDictionaryInference": true,
|
|
"strictParameterNoneValue": true,
|
|
"reportFunctionMemberAccess": "error",
|
|
"reportMissingModuleSource": "none",
|
|
"reportMissingTypeStubs": "error",
|
|
"reportUnusedImport": "error",
|
|
"reportUnusedClass": "error",
|
|
"reportUnusedFunction": "error",
|
|
"reportUnusedVariable": "error",
|
|
"reportDuplicateImport": "error",
|
|
"reportOptionalSubscript": "error",
|
|
"reportOptionalMemberAccess": "error",
|
|
"reportOptionalCall": "error",
|
|
"reportOptionalIterable": "error",
|
|
"reportOptionalContextManager": "error",
|
|
"reportOptionalOperand": "error",
|
|
"reportUntypedFunctionDecorator": "error",
|
|
"reportUntypedClassDecorator": "error",
|
|
"reportUntypedBaseClass": "error",
|
|
"reportUntypedNamedTuple": "error",
|
|
"reportPrivateUsage": "none",
|
|
"reportConstantRedefinition": "error",
|
|
"reportInvalidStringEscapeSequence": "error",
|
|
"reportUnknownArgumentType": "error",
|
|
"reportUnknownLambdaType": "error",
|
|
"reportMissingTypeArgument": "error",
|
|
"reportUndefinedVariable": "error",
|
|
"reportUnboundVariable": "error",
|
|
"reportInvalidStubStatement": "error",
|
|
"reportInvalidTypeVarUse": "error",
|
|
"reportPropertyTypeMismatch": "error",
|
|
"reportSelfClsParameterName": "error",
|
|
"reportUnsupportedDunderAll": "error",
|
|
// Incompatible overrides are out of typeshed's control as they are
|
|
// inherited from the implementation.
|
|
"reportIncompatibleMethodOverride": "none",
|
|
"reportIncompatibleVariableOverride": "none",
|
|
// Overlapping overloads cannot be enabled at this time because
|
|
// of the "fractions.Fraction.__pow__" method and "tasks.gather" function.
|
|
// Mypy's overlapping overload logic misses these issues (see mypy
|
|
// issue #10143 and #10157).
|
|
"reportOverlappingOverload": "none",
|
|
}
|