Skip to content

Commit

Permalink
chore: schema
Browse files Browse the repository at this point in the history
  • Loading branch information
fannheyward committed Dec 5, 2023
1 parent f0fc8f2 commit 661d436
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
},
"python.analysis.diagnosticSeverityOverrides": {
"type": "object",
"description": "Allows a user to override the severity levels for individual diagnostics. Use the rule name as a key and one of \"error\", \"warning\", \"information\", \"none\", `true` (alias for \"error\") or `false` (alias for \"none\") as value. The default value shown for each diagnostic is the default when \"python.analysis.typeCheckingMode\" is set to \"basic\". See [here](https://github.com/microsoft/pyright/blob/main/docs/configuration.md#diagnostic-rule-defaults) for defaults for each type checking mode (\"off\", \"basic\" and \"strict\").",
"description": "Allows a user to override the severity levels for individual diagnostics. Use the rule name as a key and one of \"error\", \"warning\", \"information\", \"none\", `true` (alias for \"error\") or `false` (alias for \"none\") as value. The default value shown for each diagnostic is the default when \"python.analysis.typeCheckingMode\" is set to \"standard\". See [here](https://github.com/microsoft/pyright/blob/main/docs/configuration.md#diagnostic-rule-defaults) for defaults for each type checking mode (\"off\", \"basic\", \"standard\", and \"strict\").",
"scope": "resource",
"properties": {
"reportGeneralTypeIssues": {
Expand Down Expand Up @@ -231,7 +231,7 @@
"boolean"
],
"description": "Diagnostics for member accesses on functions.",
"default": "none",
"default": "error",
"enum": [
"none",
"information",
Expand Down Expand Up @@ -663,7 +663,7 @@
"boolean"
],
"description": "Diagnostics for methods that override a method of the same name in a base class in an incompatible manner (wrong number of parameters, incompatible parameter types, or incompatible return type).",
"default": "none",
"default": "error",
"enum": [
"none",
"information",
Expand All @@ -679,7 +679,7 @@
"boolean"
],
"description": "Diagnostics for overrides in subclasses that redefine a variable in an incompatible way.",
"default": "none",
"default": "error",
"enum": [
"none",
"information",
Expand Down Expand Up @@ -711,7 +711,7 @@
"boolean"
],
"description": "Diagnostics for function overloads that overlap in signature and obscure each other or have incompatible return types.",
"default": "none",
"default": "error",
"enum": [
"none",
"information",
Expand Down Expand Up @@ -1232,10 +1232,11 @@
},
"python.analysis.typeCheckingMode": {
"type": "string",
"default": "basic",
"default": "standard",
"enum": [
"off",
"basic",
"standard",
"strict"
],
"description": "Defines the default rule set for type checking.",
Expand Down

0 comments on commit 661d436

Please sign in to comment.