Skip to content

Commit

Permalink
chore(deps): bump basedpyright from 1.9.1 to 1.10.0 in /language-serv…
Browse files Browse the repository at this point in the history
…er (#6)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and github-actions[bot] authored Apr 9, 2024
1 parent d1e3282 commit 0eb7c6b
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 82 deletions.
14 changes: 7 additions & 7 deletions language-server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion language-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"dependencies": {
"basedpyright": "^1.9.1"
"basedpyright": "^1.10.0"
}
}
154 changes: 80 additions & 74 deletions sublime-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,32 +21,6 @@
"settings": {
"additionalProperties": false,
"properties": {
"basedpyright.dev_environment": {
"default": "",
"description": "Enables the pre-defined environment setup for specific developing needs.",
"enum": [
"",
"sublime_text",
"sublime_text_33",
"sublime_text_38"
],
"markdownEnumDescriptions": [
"No modifications applied.",
"Suitable for people who are developing ST python plugins. The Python version which the developed plugin runs on will be used. - `sys.path` from the plugin_host will be added into \"basedpyright.analysis.extraPaths\" so that ST package dependencies can be resolved by the LSP server.",
"Similar to \"sublime_text\" but Python 3.3 forced.",
"Similar to \"sublime_text\" but Python 3.8 forced."
]
},
"basedpyright.disableLanguageServices": {
"default": false,
"description": "Disables type completion, definitions, and references.",
"type": "boolean"
},
"basedpyright.disableOrganizeImports": {
"default": false,
"description": "Disables the \"Organize Imports\" command.",
"type": "boolean"
},
"basedpyright.analysis.autoImportCompletions": {
"default": true,
"description": "Offer auto-import completions.",
Expand Down Expand Up @@ -90,6 +64,9 @@
"reportAbstractUsage": {
"$ref": "sublime://pyrightconfig#/properties/reportAbstractUsage"
},
"reportAny": {
"$ref": "sublime://pyrightconfig#/properties/reportAny"
},
"reportArgumentType": {
"$ref": "sublime://pyrightconfig#/properties/reportArgumentType"
},
Expand Down Expand Up @@ -126,9 +103,15 @@
"reportGeneralTypeIssues": {
"$ref": "sublime://pyrightconfig#/properties/reportGeneralTypeIssues"
},
"reportIgnoreCommentWithoutRule": {
"$ref": "sublime://pyrightconfig#/properties/reportIgnoreCommentWithoutRule"
},
"reportImplicitOverride": {
"$ref": "sublime://pyrightconfig#/properties/reportImplicitOverride"
},
"reportImplicitRelativeImport": {
"$ref": "sublime://pyrightconfig#/properties/reportImplicitRelativeImport"
},
"reportImplicitStringConcatenation": {
"$ref": "sublime://pyrightconfig#/properties/reportImplicitStringConcatenation"
},
Expand Down Expand Up @@ -222,6 +205,9 @@
"reportPrivateImportUsage": {
"$ref": "sublime://pyrightconfig#/properties/reportPrivateImportUsage"
},
"reportPrivateLocalImportUsage": {
"$ref": "sublime://pyrightconfig#/properties/reportPrivateLocalImportUsage"
},
"reportPrivateUsage": {
"$ref": "sublime://pyrightconfig#/properties/reportPrivateUsage"
},
Expand Down Expand Up @@ -249,12 +235,12 @@
"reportUnboundVariable": {
"$ref": "sublime://pyrightconfig#/properties/reportUnboundVariable"
},
"reportUnhashable": {
"$ref": "sublime://pyrightconfig#/properties/reportUnhashable"
},
"reportUndefinedVariable": {
"$ref": "sublime://pyrightconfig#/properties/reportUndefinedVariable"
},
"reportUnhashable": {
"$ref": "sublime://pyrightconfig#/properties/reportUnhashable"
},
"reportUninitializedInstanceVariable": {
"$ref": "sublime://pyrightconfig#/properties/reportUninitializedInstanceVariable"
},
Expand Down Expand Up @@ -288,6 +274,9 @@
"reportUnnecessaryTypeIgnoreComment": {
"$ref": "sublime://pyrightconfig#/properties/reportUnnecessaryTypeIgnoreComment"
},
"reportUnreachable": {
"$ref": "sublime://pyrightconfig#/properties/reportUnreachable"
},
"reportUnsupportedDunderAll": {
"$ref": "sublime://pyrightconfig#/properties/reportUnsupportedDunderAll"
},
Expand Down Expand Up @@ -330,21 +319,6 @@
"reportWildcardImportFromLibrary": {
"$ref": "sublime://pyrightconfig#/properties/reportWildcardImportFromLibrary"
},
"reportUnreachable": {
"$ref": "sublime://pyrightconfig#/properties/reportUnreachable"
},
"reportAny": {
"$ref": "sublime://pyrightconfig#/properties/reportAny"
},
"reportIgnoreCommentWithoutRule": {
"$ref": "sublime://pyrightconfig#/properties/reportIgnoreCommentWithoutRule"
},
"reportPrivateLocalImportUsage": {
"$ref": "sublime://pyrightconfig#/properties/reportPrivateLocalImportUsage"
},
"reportImplicitRelativeImport": {
"$ref": "sublime://pyrightconfig#/properties/reportImplicitRelativeImport"
},
"strictDictionaryInference": {
"$ref": "sublime://pyrightconfig#/properties/strictDictionaryInference"
},
Expand Down Expand Up @@ -391,6 +365,32 @@
"basedpyright.analysis.useLibraryCodeForTypes": {
"$ref": "sublime://pyrightconfig#/properties/useLibraryCodeForTypes"
},
"basedpyright.dev_environment": {
"default": "",
"description": "Enables the pre-defined environment setup for specific developing needs.",
"enum": [
"",
"sublime_text",
"sublime_text_33",
"sublime_text_38"
],
"markdownEnumDescriptions": [
"No modifications applied.",
"Suitable for people who are developing ST python plugins. The Python version which the developed plugin runs on will be used. - `sys.path` from the plugin_host will be added into \"basedpyright.analysis.extraPaths\" so that ST package dependencies can be resolved by the LSP server.",
"Similar to \"sublime_text\" but Python 3.3 forced.",
"Similar to \"sublime_text\" but Python 3.8 forced."
]
},
"basedpyright.disableLanguageServices": {
"default": false,
"description": "Disables type completion, definitions, and references.",
"type": "boolean"
},
"basedpyright.disableOrganizeImports": {
"default": false,
"description": "Disables the \"Organize Imports\" command.",
"type": "boolean"
},
"python.pythonPath": {
"default": "python",
"description": "Path to Python, you can use a custom version of Python.",
Expand Down Expand Up @@ -603,6 +603,12 @@
"default": "error",
"title": "Controls reporting of attempted instantiation of abstract class"
},
"reportAny": {
"$id": "#/properties/reportAny",
"$ref": "#/definitions/diagnostic",
"default": "none",
"title": "Controls reporting of values typed as `Any`"
},
"reportArgumentType": {
"$id": "#/properties/reportArgumentType",
"$ref": "#/definitions/diagnostic",
Expand Down Expand Up @@ -675,12 +681,24 @@
"default": "error",
"title": "Controls reporting of general type issues"
},
"reportIgnoreCommentWithoutRule": {
"$id": "#/properties/reportIgnoreCommentWithoutRule",
"$ref": "#/definitions/diagnostic",
"default": "none",
"title": "Controls reporting `# type: ignore` and `# pyright: ignore` comments without specifying a rule"
},
"reportImplicitOverride": {
"$id": "#/properties/reportImplicitOverride",
"$ref": "#/definitions/diagnostic",
"default": "none",
"title": "Controls reporting overridden methods that are missing an `@override` decorator"
},
"reportImplicitRelativeImport": {
"$id": "#/properties/reportImplicitRelativeImport",
"$ref": "#/definitions/diagnostic",
"default": "none",
"title": "Controls reporting of non-relative imports that do not specify the full path to the module."
},
"reportImplicitStringConcatenation": {
"$id": "#/properties/reportImplicitStringConcatenation",
"$ref": "#/definitions/diagnostic",
Expand Down Expand Up @@ -729,6 +747,12 @@
"default": "error",
"title": "Controls reporting of issues related to index operations and expressions"
},
"reportInvalidCast": {
"$id": "#/properties/reportInvalidCast",
"$ref": "#/definitions/diagnostic",
"default": "none",
"title": "Controls reporting of diagnostics for `cast`s to non-overlapping types."
},
"reportInvalidStringEscapeSequence": {
"$id": "#/properties/reportInvalidStringEscapeSequence",
"$ref": "#/definitions/diagnostic",
Expand Down Expand Up @@ -867,6 +891,12 @@
"default": "error",
"title": "Controls reporting of improper usage of symbol imported from a \"py.typed\" module that is not re-exported from that module"
},
"reportPrivateLocalImportUsage": {
"$id": "#/properties/reportPrivateLocalImportUsage",
"$ref": "#/definitions/diagnostic",
"default": "none",
"title": "Controls reporting of improper usage of symbols imported from a non-\"py.typed\" module that are not re-exported from that module. Should be used along with `reportPrivateImportUsage`"
},
"reportPrivateUsage": {
"$id": "#/properties/reportPrivateUsage",
"$ref": "#/definitions/diagnostic",
Expand Down Expand Up @@ -999,6 +1029,12 @@
"default": "none",
"title": "Controls reporting of '# type: ignore' comments that have no effect'"
},
"reportUnreachable": {
"$id": "#/properties/reportUnreachable",
"$ref": "#/definitions/diagnostic",
"default": "none",
"title": "Controls reporting of unreachable code"
},
"reportUnsupportedDunderAll": {
"$id": "#/properties/reportUnsupportedDunderAll",
"$ref": "#/definitions/diagnostic",
Expand Down Expand Up @@ -1083,36 +1119,6 @@
"default": "warning",
"title": "Controls reporting of wildcard import from external library"
},
"reportUnreachable": {
"$id": "#/properties/reportUnreachable",
"$ref": "#/definitions/diagnostic",
"title": "Controls reporting of unreachable code",
"default": "none"
},
"reportAny": {
"$id": "#/properties/reportAny",
"$ref": "#/definitions/diagnostic",
"title": "Controls reporting of values typed as `Any`",
"default": "none"
},
"reportIgnoreCommentWithoutRule": {
"$id": "#/properties/reportIgnoreCommentWithoutRule",
"$ref": "#/definitions/diagnostic",
"title": "Controls reporting `# type: ignore` and `# pyright: ignore` comments without specifying a rule",
"default": "none"
},
"reportPrivateLocalImportUsage": {
"$id": "#/properties/reportPrivateLocalImportUsage",
"$ref": "#/definitions/diagnostic",
"title": "Controls reporting of improper usage of symbols imported from a non-\"py.typed\" module that are not re-exported from that module. Should be used along with `reportPrivateImportUsage`",
"default": "none"
},
"reportImplicitRelativeImport": {
"$id": "#/properties/reportImplicitRelativeImport",
"$ref": "#/definitions/diagnostic",
"title": "Controls reporting of non-relative imports that do not specify the full path to the module.",
"default": "none"
},
"strict": {
"$id": "#/properties/strict",
"items": {
Expand Down

0 comments on commit 0eb7c6b

Please sign in to comment.