Skip to content

Commit

Permalink
chore(deps): bump basedpyright from 1.20.0 to 1.21.0 in /language-ser…
Browse files Browse the repository at this point in the history
…ver (#49)

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 Nov 6, 2024
1 parent de78643 commit aa43382
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 64 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.20.0"
"basedpyright": "^1.21.0"
}
}
74 changes: 18 additions & 56 deletions sublime-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -494,19 +494,6 @@
"title": "Treat typing-specific aliases to standard types as deprecated",
"type": "boolean"
},
"deprecated": {
"anyOf": [
{
"$ref": "#/definitions/diagnostic"
},
{
"enum": [
"deprecated"
],
"type": "string"
}
]
},
"diagnostic": {
"anyOf": [
{
Expand All @@ -515,6 +502,7 @@
{
"enum": [
"none",
"hint",
"information",
"warning",
"error"
Expand Down Expand Up @@ -622,8 +610,8 @@
"title": "Controls reporting of attempts to redefine variables that are in all-caps"
},
"reportDeprecated": {
"$ref": "#/definitions/deprecated",
"default": "deprecated",
"$ref": "#/definitions/diagnostic",
"default": "hint",
"title": "Controls reporting of use of deprecated class or function"
},
"reportDuplicateImport": {
Expand Down Expand Up @@ -857,8 +845,8 @@
"title": "Controls reporting of shadowed imports of stdlib modules"
},
"reportTypeCommentUsage": {
"$ref": "#/definitions/deprecated",
"default": "deprecated",
"$ref": "#/definitions/diagnostic",
"default": "hint",
"title": "Controls reporting of deprecated type comment usage"
},
"reportTypedDictNotRequiredAccess": {
Expand Down Expand Up @@ -942,8 +930,8 @@
"title": "Controls reporting of '# type: ignore' comments that have no effect'"
},
"reportUnreachable": {
"$ref": "#/definitions/unreachable",
"default": "unreachable",
"$ref": "#/definitions/diagnostic",
"default": "hint",
"title": "Controls reporting of unreachable code"
},
"reportUnsafeMultipleInheritance": {
Expand Down Expand Up @@ -982,8 +970,8 @@
"title": "Controls reporting of call expressions whose results are not consumed"
},
"reportUnusedClass": {
"$ref": "#/definitions/unused",
"default": "unused",
"$ref": "#/definitions/diagnostic",
"default": "hint",
"title": "Controls reporting of private classes that are not accessed"
},
"reportUnusedCoroutine": {
Expand All @@ -992,7 +980,7 @@
"title": "Controls reporting of call expressions that returns Coroutine whose results are not consumed"
},
"reportUnusedExcept": {
"$ref": "#/definitions/unreachable",
"$ref": "#/definitions/diagnostic",
"default": "error",
"title": "Controls reporting of unreachable except clauses"
},
Expand All @@ -1002,23 +990,23 @@
"title": "Controls reporting of simple expressions whose value is not used in any way"
},
"reportUnusedFunction": {
"$ref": "#/definitions/unused",
"default": "unused",
"$ref": "#/definitions/diagnostic",
"default": "hint",
"title": "Controls reporting of private functions or methods that are not accessed"
},
"reportUnusedImport": {
"$ref": "#/definitions/unused",
"default": "unused",
"$ref": "#/definitions/diagnostic",
"default": "hint",
"title": "Controls reporting of imported symbols that are not referenced within the source file"
},
"reportUnusedParameter": {
"$ref": "#/definitions/unused",
"default": "unused",
"$ref": "#/definitions/diagnostic",
"default": "hint",
"title": "Controls reporting of unused function parameters"
},
"reportUnusedVariable": {
"$ref": "#/definitions/unused",
"default": "unused",
"$ref": "#/definitions/diagnostic",
"default": "hint",
"title": "Controls reporting of local variables that are not accessed"
},
"reportWildcardImportFromLibrary": {
Expand All @@ -1045,32 +1033,6 @@
"default": false,
"title": "Infer strict types for set expressions",
"type": "boolean"
},
"unreachable": {
"anyOf": [
{
"$ref": "#/definitions/diagnostic"
},
{
"enum": [
"unreachable"
],
"type": "string"
}
]
},
"unused": {
"anyOf": [
{
"$ref": "#/definitions/diagnostic"
},
{
"enum": [
"unused"
],
"type": "string"
}
]
}
},
"description": "Pyright Configuration Schema",
Expand Down

0 comments on commit aa43382

Please sign in to comment.