|
78 | 78 | "default": "warning",
|
79 | 79 | "enum": ["none", "information", "warning", "error"]
|
80 | 80 | },
|
| 81 | + "reportInvalidTypeForm": { |
| 82 | + "type": "string", |
| 83 | + "description": "Diagnostics for type expression that uses an invalid form.", |
| 84 | + "default": "error", |
| 85 | + "enum": ["none", "information", "warning", "error"] |
| 86 | + }, |
81 | 87 | "reportMissingTypeStubs": {
|
82 | 88 | "type": "string",
|
83 | 89 | "description": "Diagnostics for imports that have no corresponding type stub file (either a typeshed file or a custom type stub). The type checker requires type stubs to do its best job at analysis.",
|
|
126 | 132 | "default": "warning",
|
127 | 133 | "enum": ["none", "information", "warning", "error"]
|
128 | 134 | },
|
| 135 | + "reportAbstractUsage": { |
| 136 | + "type": "string", |
| 137 | + "description": "Diagnostics for an attempt to instantiate an abstract or protocol class or use an abstract method.", |
| 138 | + "default": "error", |
| 139 | + "enum": ["none", "information", "warning", "error"] |
| 140 | + }, |
| 141 | + "reportArgumentType": { |
| 142 | + "type": "string", |
| 143 | + "description": "Diagnostics for a type incompatibility for an argument to a call.", |
| 144 | + "default": "error", |
| 145 | + "enum": ["none", "information", "warning", "error"] |
| 146 | + }, |
| 147 | + "reportAssertTypeFailure": { |
| 148 | + "type": "string", |
| 149 | + "description": "Diagnostics for a type incompatibility detected by a typing.assert_type call.", |
| 150 | + "default": "error", |
| 151 | + "enum": ["none", "information", "warning", "error"] |
| 152 | + }, |
| 153 | + "reportAssignmentType": { |
| 154 | + "type": "string", |
| 155 | + "description": "Diagnostics for type incompatibilities for assignments.", |
| 156 | + "default": "error", |
| 157 | + "enum": ["none", "information", "warning", "error"] |
| 158 | + }, |
| 159 | + "reportAttributeAccessIssue": { |
| 160 | + "type": "string", |
| 161 | + "description": "Diagnostics for issues involving attribute accesses.", |
| 162 | + "default": "error", |
| 163 | + "enum": ["none", "information", "warning", "error"] |
| 164 | + }, |
| 165 | + "reportCallIssue": { |
| 166 | + "type": "string", |
| 167 | + "description": "Diagnostics for issues involving call expressions and arguments.", |
| 168 | + "default": "error", |
| 169 | + "enum": ["none", "information", "warning", "error"] |
| 170 | + }, |
| 171 | + "reportInconsistentOverload": { |
| 172 | + "type": "string", |
| 173 | + "description": "Diagnostics for inconsistencies between function overload signatures and implementation.", |
| 174 | + "default": "error", |
| 175 | + "enum": ["none", "information", "warning", "error"] |
| 176 | + }, |
| 177 | + "reportIndexIssue": { |
| 178 | + "type": "string", |
| 179 | + "description": "Diagnostics related to index operations and expressions.", |
| 180 | + "default": "error", |
| 181 | + "enum": ["none", "information", "warning", "error"] |
| 182 | + }, |
| 183 | + "reportInvalidTypeArguments": { |
| 184 | + "type": "string", |
| 185 | + "description": "Diagnostics for invalid type argument usage.", |
| 186 | + "default": "error", |
| 187 | + "enum": ["none", "information", "warning", "error"] |
| 188 | + }, |
| 189 | + "reportNoOverloadImplementation": { |
| 190 | + "type": "string", |
| 191 | + "description": "Diagnostics for an overloaded function or method with a missing implementation.", |
| 192 | + "default": "error", |
| 193 | + "enum": ["none", "information", "warning", "error"] |
| 194 | + }, |
| 195 | + "reportOperatorIssue": { |
| 196 | + "type": "string", |
| 197 | + "description": "Diagnostics for related to unary or binary operators.", |
| 198 | + "default": "error", |
| 199 | + "enum": ["none", "information", "warning", "error"] |
| 200 | + }, |
129 | 201 | "reportOptionalSubscript": {
|
130 | 202 | "type": "string",
|
131 | 203 | "description": "Diagnostics for an attempt to subscript (index) a variable with an Optional type.",
|
|
162 | 234 | "default": "error",
|
163 | 235 | "enum": ["none", "information", "warning", "error"]
|
164 | 236 | },
|
| 237 | + "reportRedeclaration": { |
| 238 | + "type": "string", |
| 239 | + "description": "Diagnostics for an attempt to declare the type of a symbol multiple times.", |
| 240 | + "default": "error", |
| 241 | + "enum": ["none", "information", "warning", "error"] |
| 242 | + }, |
| 243 | + "reportReturnType": { |
| 244 | + "type": "string", |
| 245 | + "description": "Diagnostics related to function return type compatibility.", |
| 246 | + "default": "error", |
| 247 | + "enum": ["none", "information", "warning", "error"] |
| 248 | + }, |
165 | 249 | "reportTypedDictNotRequiredAccess": {
|
166 | 250 | "type": "string",
|
167 | 251 | "description": "Diagnostics for an attempt to access a non-required key within a TypedDict without a check for its presence.",
|
|
246 | 330 | "default": "none",
|
247 | 331 | "enum": ["none", "information", "warning", "error"]
|
248 | 332 | },
|
| 333 | + "reportPossiblyUnboundVariable": { |
| 334 | + "type": "string", |
| 335 | + "description": "Diagnostics for the use of variables that may be unbound on some code paths.", |
| 336 | + "default": "error", |
| 337 | + "enum": ["none", "information", "warning", "error"] |
| 338 | + }, |
249 | 339 | "reportMissingSuperCall": {
|
250 | 340 | "type": "string",
|
251 | 341 | "description": "Diagnostics for missing call to parent class for inherited `__init__` methods.",
|
|
402 | 492 | "default": "error",
|
403 | 493 | "enum": ["none", "information", "warning", "error"]
|
404 | 494 | },
|
| 495 | + "reportUnusedExcept": { |
| 496 | + "type": "string", |
| 497 | + "description": "Diagnostics for unreachable except clause.", |
| 498 | + "default": "error", |
| 499 | + "enum": ["none", "information", "warning", "error"] |
| 500 | + }, |
405 | 501 | "reportUnusedExpression": {
|
406 | 502 | "type": "string",
|
407 | 503 | "description": "Diagnostics for simple expressions whose value is not used in any way.",
|
|
468 | 564 | "description": "Disables type completion, definitions, and references.",
|
469 | 565 | "scope": "resource"
|
470 | 566 | },
|
| 567 | + "pyright.disableTaggedHints": { |
| 568 | + "type": "boolean", |
| 569 | + "default": false, |
| 570 | + "description": "Disable hint diagnostics with special hints for grayed-out or strike-through text.", |
| 571 | + "scope": "resource" |
| 572 | + }, |
471 | 573 | "pyright.disableOrganizeImports": {
|
472 | 574 | "type": "boolean",
|
473 | 575 | "default": false,
|
|
0 commit comments