mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 08:47:39 +08:00
117 lines
3.8 KiB
JSON
117 lines
3.8 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/microsoft/pyright/main/packages/vscode-pyright/schemas/pyrightconfig.schema.json",
|
|
"typeshedPath": ".",
|
|
"include": [
|
|
"stdlib",
|
|
"stubs"
|
|
],
|
|
"exclude": [
|
|
// Python 2 only modules.
|
|
"**/@python2",
|
|
"stubs/enum34",
|
|
"stubs/futures",
|
|
"stubs/ipaddress",
|
|
// Modules that are incomplete in some way.
|
|
"stdlib/distutils/command",
|
|
"stdlib/lib2to3/refactor.pyi",
|
|
"stdlib/sqlite3/dbapi2.pyi",
|
|
"stdlib/tkinter",
|
|
"stdlib/xml/dom",
|
|
"stdlib/xml/sax",
|
|
"stubs/aws-xray-sdk",
|
|
"stubs/babel",
|
|
"stubs/backports.ssl_match_hostname",
|
|
"stubs/backports_abc",
|
|
"stubs/bleach",
|
|
"stubs/boto",
|
|
"stubs/beautifulsoup4",
|
|
"stubs/braintree",
|
|
"stubs/caldav",
|
|
"stubs/commonmark",
|
|
"stubs/cryptography",
|
|
"stubs/dateparser",
|
|
"stubs/docutils",
|
|
"stubs/Flask",
|
|
"stubs/html5lib",
|
|
"stubs/httplib2",
|
|
"stubs/humanfriendly",
|
|
"stubs/Jinja2",
|
|
"stubs/jmespath",
|
|
"stubs/jsonschema",
|
|
"stubs/Markdown",
|
|
"stubs/mysqlclient",
|
|
"stubs/oauthlib",
|
|
"stubs/Pillow",
|
|
"stubs/paramiko",
|
|
"stubs/prettytable",
|
|
"stubs/protobuf",
|
|
"stubs/psutil",
|
|
"stubs/psycopg2",
|
|
"stubs/Pygments",
|
|
"stubs/PyMySQL",
|
|
"stubs/python-dateutil",
|
|
"stubs/pyvmomi",
|
|
"stubs/PyYAML",
|
|
"stubs/redis",
|
|
"stubs/requests",
|
|
"stubs/selenium",
|
|
"stubs/Send2Trash",
|
|
"stubs/setuptools",
|
|
"stubs/simplejson",
|
|
"stubs/slumber",
|
|
"stubs/stripe",
|
|
"stubs/toposort",
|
|
"stubs/ttkthemes",
|
|
"stubs/vobject",
|
|
"stubs/waitress",
|
|
"stubs/Werkzeug"
|
|
],
|
|
"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": "error",
|
|
"reportConstantRedefinition": "error",
|
|
"reportIncompatibleMethodOverride": "error",
|
|
"reportIncompatibleVariableOverride": "error",
|
|
"reportInvalidStringEscapeSequence": "error",
|
|
"reportUnknownParameterType": "error",
|
|
"reportUnknownArgumentType": "error",
|
|
"reportUnknownLambdaType": "error",
|
|
"reportUnknownVariableType": "error",
|
|
"reportUnknownMemberType": "error",
|
|
"reportMissingTypeArgument": "error",
|
|
"reportUndefinedVariable": "error",
|
|
"reportUnboundVariable": "error",
|
|
"reportInvalidStubStatement": "error",
|
|
"reportInvalidTypeVarUse": "error",
|
|
"reportPropertyTypeMismatch": "error",
|
|
"reportSelfClsParameterName": "error",
|
|
// Overlapping overloads cannot be enabled at this time because
|
|
// of the "factions.Fraction.__pow__" method and "tasks.gather" function.
|
|
// Mypy's overlapping overload logic misses these issues (see mypy
|
|
// issue #10143 and #10157).
|
|
"reportOverlappingOverload": "none",
|
|
// Several stubs refer to symbols in __all__ that are conditionally
|
|
// declared based on platform or version checks.
|
|
"reportUnsupportedDunderAll": "none",
|
|
}
|