basedpyright 1.31.1__py3-none-any.whl → 1.31.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- basedpyright/dist/pyright-langserver.js +7 -7
- basedpyright/dist/pyright-langserver.js.map +1 -1
- basedpyright/dist/pyright.js +1 -1
- basedpyright/dist/typeshed-fallback/stdlib/numbers.pyi +10 -2
- basedpyright/dist/typeshed-fallback/stdlib/os/__init__.pyi +1 -1
- {basedpyright-1.31.1.dist-info → basedpyright-1.31.2.dist-info}/METADATA +1 -1
- {basedpyright-1.31.1.dist-info → basedpyright-1.31.2.dist-info}/RECORD +10 -10
- {basedpyright-1.31.1.dist-info → basedpyright-1.31.2.dist-info}/WHEEL +0 -0
- {basedpyright-1.31.1.dist-info → basedpyright-1.31.2.dist-info}/entry_points.txt +0 -0
- {basedpyright-1.31.1.dist-info → basedpyright-1.31.2.dist-info}/licenses/LICENSE.txt +0 -0
|
@@ -92573,12 +92573,12 @@ exports.TypeInlayHintsWalker = void 0;
|
|
|
92573
92573
|
const parseTreeWalker_1 = __webpack_require__(/*! ../analyzer/parseTreeWalker */ "../pyright-internal/src/analyzer/parseTreeWalker.ts");
|
|
92574
92574
|
const symbolNameUtils_1 = __webpack_require__(/*! ../analyzer/symbolNameUtils */ "../pyright-internal/src/analyzer/symbolNameUtils.ts");
|
|
92575
92575
|
const types_1 = __webpack_require__(/*! ../analyzer/types */ "../pyright-internal/src/analyzer/types.ts");
|
|
92576
|
-
const tooltipUtils_1 = __webpack_require__(/*! ../languageService/tooltipUtils */ "../pyright-internal/src/languageService/tooltipUtils.ts");
|
|
92577
|
-
const typeUtils_1 = __webpack_require__(/*! ./typeUtils */ "../pyright-internal/src/analyzer/typeUtils.ts");
|
|
92578
|
-
const textRange_1 = __webpack_require__(/*! ../common/textRange */ "../pyright-internal/src/common/textRange.ts");
|
|
92579
92576
|
const positionUtils_1 = __webpack_require__(/*! ../common/positionUtils */ "../pyright-internal/src/common/positionUtils.ts");
|
|
92577
|
+
const textRange_1 = __webpack_require__(/*! ../common/textRange */ "../pyright-internal/src/common/textRange.ts");
|
|
92578
|
+
const tooltipUtils_1 = __webpack_require__(/*! ../languageService/tooltipUtils */ "../pyright-internal/src/languageService/tooltipUtils.ts");
|
|
92580
92579
|
const enums_1 = __webpack_require__(/*! ./enums */ "../pyright-internal/src/analyzer/enums.ts");
|
|
92581
92580
|
const typePrinter_1 = __webpack_require__(/*! ./typePrinter */ "../pyright-internal/src/analyzer/typePrinter.ts");
|
|
92581
|
+
const typeUtils_1 = __webpack_require__(/*! ./typeUtils */ "../pyright-internal/src/analyzer/typeUtils.ts");
|
|
92582
92582
|
// Don't generate inlay hints for arguments to builtin types and functions
|
|
92583
92583
|
const ignoredBuiltinTypes = new Set([
|
|
92584
92584
|
'builtins.bool',
|
|
@@ -92858,9 +92858,9 @@ class TypeInlayHintsWalker extends parseTreeWalker_1.ParseTreeWalker {
|
|
|
92858
92858
|
if (p.paramName?.startsWith('__')) {
|
|
92859
92859
|
continue;
|
|
92860
92860
|
}
|
|
92861
|
-
if (
|
|
92862
|
-
p.paramName === argNode.d.value
|
|
92863
|
-
|
|
92861
|
+
if (!this._settings.callArgumentNamesMatching &&
|
|
92862
|
+
((argNode.nodeType === 38 /* ParseNodeType.Name */ && p.paramName === argNode.d.value) ||
|
|
92863
|
+
(argNode.nodeType === 35 /* ParseNodeType.MemberAccess */ && p.paramName === argNode.d.member.d.value))) {
|
|
92864
92864
|
continue;
|
|
92865
92865
|
}
|
|
92866
92866
|
if (p.paramName) {
|
|
@@ -137336,7 +137336,7 @@ exports.PyrightServer = PyrightServer;
|
|
|
137336
137336
|
/***/ ((module) => {
|
|
137337
137337
|
|
|
137338
137338
|
"use strict";
|
|
137339
|
-
module.exports = "1.31.
|
|
137339
|
+
module.exports = "1.31.2";
|
|
137340
137340
|
|
|
137341
137341
|
/***/ }),
|
|
137342
137342
|
|