mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 08:47:39 +08:00
136 lines
4.6 KiB
JSON
136 lines
4.6 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/microsoft/pyright/main/packages/vscode-pyright/schemas/pyrightconfig.schema.json",
|
|
"typeshedPath": ".",
|
|
"include": [
|
|
"stdlib",
|
|
"stubs",
|
|
],
|
|
"exclude": [
|
|
// test cases use a custom pyrightconfig file
|
|
"**/@tests/test_cases",
|
|
"stdlib/distutils/command",
|
|
"stdlib/distutils/dist.pyi",
|
|
"stdlib/importlib/readers.pyi",
|
|
"stdlib/lib2to3/fixes/*.pyi",
|
|
"stdlib/numbers.pyi",
|
|
"stdlib/optparse.pyi",
|
|
"stdlib/_tkinter.pyi",
|
|
"stdlib/tkinter/__init__.pyi",
|
|
"stdlib/tkinter/commondialog.pyi",
|
|
"stdlib/tkinter/filedialog.pyi",
|
|
"stdlib/tkinter/dialog.pyi",
|
|
"stdlib/tkinter/messagebox.pyi",
|
|
"stdlib/tkinter/scrolledtext.pyi",
|
|
"stdlib/tkinter/tix.pyi",
|
|
"stdlib/tkinter/ttk.pyi",
|
|
"stdlib/xml/dom/NodeFilter.pyi",
|
|
"stdlib/xml/dom/expatbuilder.pyi",
|
|
"stdlib/xml/dom/minidom.pyi",
|
|
"stdlib/xml/dom/pulldom.pyi",
|
|
"stdlib/xml/sax",
|
|
"stubs/aiofiles/aiofiles/tempfile/temptypes.pyi",
|
|
"stubs/antlr4-python3-runtime",
|
|
"stubs/aws-xray-sdk",
|
|
"stubs/beautifulsoup4",
|
|
"stubs/bleach/bleach/sanitizer.pyi",
|
|
"stubs/boltons",
|
|
"stubs/boto",
|
|
"stubs/braintree",
|
|
"stubs/caldav",
|
|
"stubs/cffi",
|
|
"stubs/click-default-group",
|
|
"stubs/commonmark",
|
|
"stubs/dateparser",
|
|
"stubs/defusedxml",
|
|
"stubs/docker",
|
|
"stubs/docutils",
|
|
"stubs/Flask-SocketIO",
|
|
"stubs/fpdf2",
|
|
"stubs/google-cloud-ndb",
|
|
"stubs/hdbcli/hdbcli/dbapi.pyi",
|
|
"stubs/html5lib",
|
|
"stubs/httplib2",
|
|
"stubs/humanfriendly",
|
|
"stubs/hvac",
|
|
"stubs/icalendar",
|
|
"stubs/influxdb-client",
|
|
"stubs/jmespath",
|
|
"stubs/jsonschema",
|
|
"stubs/ldap3",
|
|
"stubs/Markdown",
|
|
"stubs/mysqlclient",
|
|
"stubs/netaddr/netaddr/core.pyi",
|
|
"stubs/netaddr/netaddr/ip/__init__.pyi",
|
|
"stubs/netaddr/netaddr/ip/iana.pyi",
|
|
"stubs/networkx",
|
|
"stubs/oauthlib",
|
|
"stubs/openpyxl",
|
|
"stubs/parsimonious/parsimonious/nodes.pyi",
|
|
"stubs/passlib",
|
|
"stubs/peewee",
|
|
"stubs/pexpect",
|
|
"stubs/pika",
|
|
"stubs/Pillow",
|
|
"stubs/protobuf",
|
|
"stubs/psutil",
|
|
"stubs/psycopg2",
|
|
"stubs/pyasn1",
|
|
"stubs/pycurl",
|
|
"stubs/pyflakes",
|
|
"stubs/Pygments",
|
|
"stubs/PyMySQL",
|
|
"stubs/python-crontab",
|
|
"stubs/python-dateutil",
|
|
"stubs/python-jose",
|
|
"stubs/pywin32",
|
|
"stubs/pyxdg",
|
|
"stubs/PyYAML",
|
|
"stubs/qrcode",
|
|
"stubs/redis",
|
|
"stubs/reportlab",
|
|
"stubs/requests",
|
|
"stubs/requests-oauthlib",
|
|
"stubs/seaborn",
|
|
"stubs/setuptools/setuptools",
|
|
"stubs/shapely",
|
|
"stubs/tensorflow",
|
|
"stubs/tqdm",
|
|
"stubs/ttkthemes",
|
|
"stubs/vobject",
|
|
"stubs/workalendar",
|
|
"stubs/wurlitzer",
|
|
],
|
|
"typeCheckingMode": "strict",
|
|
// TODO: Complete incomplete stubs
|
|
"reportIncompleteStub": "none",
|
|
// Extra strict settings
|
|
"reportCallInDefaultInitializer": "error",
|
|
// implicit string concatenation is useful for long deprecation messages
|
|
"reportImplicitStringConcatenation": "none",
|
|
"reportUnnecessaryTypeIgnoreComment": "error",
|
|
// Leave "type: ignore" comments to mypy
|
|
"enableTypeIgnoreComments": false,
|
|
// No effect in stubs
|
|
"reportMissingSuperCall": "none",
|
|
"reportUninitializedInstanceVariable": "none",
|
|
// stdlib stubs trigger reportShadowedImports
|
|
"reportShadowedImports": "none",
|
|
// Stubs are allowed to use private variables
|
|
"reportPrivateUsage": "none",
|
|
// Stubs don't need the actual modules to be installed
|
|
"reportMissingModuleSource": "none",
|
|
// Incompatible overrides and property type mismatches are out of typeshed's control
|
|
// as they are inherited from the implementation.
|
|
"reportIncompatibleMethodOverride": "none",
|
|
"reportIncompatibleVariableOverride": "none",
|
|
"reportPropertyTypeMismatch": "none",
|
|
// Overlapping overloads are often necessary in a stub, meaning pyright's check
|
|
// (which is stricter than mypy's; see mypy issue #10143 and #10157)
|
|
// would cause many false positives and catch few bugs.
|
|
"reportOverlappingOverload": "none",
|
|
// The name of the self/cls parameter is out of typeshed's control.
|
|
"reportSelfClsParameterName": "none",
|
|
// Not actionable in typeshed
|
|
"reportDeprecated": "none",
|
|
}
|