mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
27 lines
861 B
JSON
27 lines
861 B
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/microsoft/pyright/main/packages/vscode-pyright/schemas/pyrightconfig.schema.json",
|
|
"typeshedPath": ".",
|
|
"include": [
|
|
"lib",
|
|
"scripts",
|
|
"tests",
|
|
],
|
|
"extraPaths": [
|
|
"lib",
|
|
],
|
|
"typeCheckingMode": "strict",
|
|
// More of a lint. Unwanted for typeshed's own code.
|
|
"reportImplicitStringConcatenation": "none",
|
|
// Extra strict settings
|
|
"reportMissingModuleSource": "error",
|
|
"reportShadowedImports": "error",
|
|
"reportCallInDefaultInitializer": "error",
|
|
"reportPropertyTypeMismatch": "error",
|
|
"reportUninitializedInstanceVariable": "error",
|
|
"reportUnnecessaryTypeIgnoreComment": "error",
|
|
// Leave "type: ignore" comments to mypy
|
|
"enableTypeIgnoreComments": false,
|
|
// Too strict
|
|
"reportMissingSuperCall": "none",
|
|
}
|