massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / package.json
1 {
2   "name": "coc-pyright",
3   "version": "1.1.191",
4   "description": "Pyright extension for coc.nvim, static type checker for Python",
5   "author": "Heyward Fann <fannheyward@gmail.com>",
6   "license": "MIT",
7   "main": "lib/index.js",
8   "keywords": [
9     "coc.nvim",
10     "python",
11     "pyright"
12   ],
13   "engines": {
14     "coc": "^0.0.80"
15   },
16   "repository": {
17     "type": "git",
18     "url": "https://github.com/fannheyward/coc-pyright.git"
19   },
20   "activationEvents": [
21     "onLanguage:python",
22     "workspaceContains:app.py",
23     "workspaceContains:Pipfile",
24     "workspaceContains:setup.py",
25     "workspaceContains:manage.py",
26     "workspaceContains:pyproject.toml",
27     "workspaceContains:requirements.txt",
28     "workspaceContains:pyrightconfig.json"
29   ],
30   "scripts": {
31     "schema": "curl -o schemas/pyrightconfig.schema.json https://raw.githubusercontent.com/microsoft/pyright/main/packages/vscode-pyright/schemas/pyrightconfig.schema.json && node diff.js",
32     "clean": "rimraf lib",
33     "lint": "eslint src --ext ts",
34     "build": "node esbuild.js",
35     "prepare": "node esbuild.js"
36   },
37   "devDependencies": {
38     "@types/diff-match-patch": "^1.0.32",
39     "@types/fs-extra": "^9.0.2",
40     "@types/md5": "^2.2.0",
41     "@types/minimatch": "^3.0.3",
42     "@types/node": "12.12",
43     "@types/semver": "^7.3.9",
44     "@types/which": "^2.0.0",
45     "@typescript-eslint/eslint-plugin": "^5.4.0",
46     "@typescript-eslint/parser": "^5.4.0",
47     "coc.nvim": "^0.0.81-next.7",
48     "diff-match-patch": "^1.0.5",
49     "esbuild": "^0.13.15",
50     "eslint": "^8.3.0",
51     "fs-extra": "^10.0.0",
52     "iconv-lite": "^0.6.2",
53     "md5": "^2.3.0",
54     "named-js-regexp": "^1.3.5",
55     "rimraf": "^3.0.0",
56     "rxjs": "^7.4.0",
57     "rxjs-compat": "^6.6.7",
58     "semver": "^7.3.2",
59     "tree-kill": "^1.2.2",
60     "typescript": "^4.5.2",
61     "untildify": "^4.0.0",
62     "which": "^2.0.2"
63   },
64   "prettier": {
65     "singleQuote": true,
66     "printWidth": 180,
67     "semi": true
68   },
69   "contributes": {
70     "rootPatterns": [
71       {
72         "filetype": "python",
73         "patterns": [
74           "app.py",
75           "setup.py",
76           "setup.cfg",
77           "manage.py",
78           "pyproject.toml",
79           "pyrightconfig.json"
80         ]
81       }
82     ],
83     "jsonValidation": [
84       {
85         "fileMatch": "pyrightconfig.json",
86         "url": "./schemas/pyrightconfig.schema.json"
87       }
88     ],
89     "configuration": {
90       "type": "object",
91       "title": "coc-pyright configuration",
92       "properties": {
93         "pyright.enable": {
94           "type": "boolean",
95           "default": true,
96           "description": "Enable coc-pyright extension"
97         },
98         "python.analysis.extraPaths": {
99           "type": "array",
100           "default": [],
101           "items": {
102             "type": "string"
103           },
104           "description": "Additional import search resolution paths",
105           "scope": "resource"
106         },
107         "python.analysis.typeshedPaths": {
108           "type": "array",
109           "default": [],
110           "items": {
111             "type": "string"
112           },
113           "description": "Paths to look for typeshed modules.",
114           "scope": "resource"
115         },
116         "python.analysis.autoImportCompletions": {
117           "type": "boolean",
118           "default": true,
119           "description": "Offer auto-import completions.",
120           "scope": "resource"
121         },
122         "python.analysis.autoSearchPaths": {
123           "type": "boolean",
124           "default": true,
125           "description": "Automatically add common search paths like 'src'?",
126           "scope": "resource"
127         },
128         "python.analysis.stubPath": {
129           "type": "string",
130           "default": "typings",
131           "description": "Path to directory containing custom type stub files.",
132           "scope": "resource"
133         },
134         "python.analysis.diagnosticMode": {
135           "type": "string",
136           "default": "openFilesOnly",
137           "enum": [
138             "openFilesOnly",
139             "workspace"
140           ],
141           "enumDescriptions": [
142             "Analyzes and reports errors on only open files.",
143             "Analyzes and reports errors on all files in the workspace."
144           ],
145           "scope": "resource"
146         },
147         "python.analysis.diagnosticSeverityOverrides": {
148           "type": "object",
149           "default": {},
150           "description": "Allows a user to override the severity levels for individual diagnostics.",
151           "properties": {
152             "reportGeneralTypeIssues": {
153               "type": "string",
154               "description": "Diagnostics for general type inconsistencies, unsupported operations, argument/parameter mismatches, etc. Covers all of the basic type-checking rules not covered by other rules. Does not include syntax errors.",
155               "default": "error",
156               "enum": [
157                 "none",
158                 "information",
159                 "warning",
160                 "error"
161               ]
162             },
163             "reportPropertyTypeMismatch": {
164               "type": "string",
165               "description": "Diagnostics for property whose setter and getter have mismatched types.",
166               "default": "none",
167               "enum": [
168                 "none",
169                 "information",
170                 "warning",
171                 "error"
172               ]
173             },
174             "reportFunctionMemberAccess": {
175               "type": "string",
176               "description": "Diagnostics for member accesses on functions.",
177               "default": "none",
178               "enum": [
179                 "none",
180                 "information",
181                 "warning",
182                 "error"
183               ]
184             },
185             "reportMissingImports": {
186               "type": "string",
187               "description": "Diagnostics for imports that have no corresponding imported python file or type stub file.",
188               "default": "error",
189               "enum": [
190                 "none",
191                 "information",
192                 "warning",
193                 "error"
194               ]
195             },
196             "reportMissingModuleSource": {
197               "type": "string",
198               "description": "Diagnostics for imports that have no corresponding source file. This happens when a type stub is found, but the module source file was not found, indicating that the code may fail at runtime when using this execution environment. Type checking will be done using the type stub.",
199               "default": "warning",
200               "enum": [
201                 "none",
202                 "information",
203                 "warning",
204                 "error"
205               ]
206             },
207             "reportMissingTypeStubs": {
208               "type": "string",
209               "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.",
210               "default": "none",
211               "enum": [
212                 "none",
213                 "information",
214                 "warning",
215                 "error"
216               ]
217             },
218             "reportImportCycles": {
219               "type": "string",
220               "description": "Diagnostics for cyclical import chains. These are not errors in Python, but they do slow down type analysis and often hint at architectural layering issues. Generally, they should be avoided.",
221               "default": "none",
222               "enum": [
223                 "none",
224                 "information",
225                 "warning",
226                 "error"
227               ]
228             },
229             "reportUnusedImport": {
230               "type": "string",
231               "description": "Diagnostics for an imported symbol that is not referenced within that file.",
232               "default": "none",
233               "enum": [
234                 "none",
235                 "information",
236                 "warning",
237                 "error"
238               ]
239             },
240             "reportUnusedClass": {
241               "type": "string",
242               "description": "Diagnostics for a class with a private name (starting with an underscore) that is not accessed.",
243               "default": "none",
244               "enum": [
245                 "none",
246                 "information",
247                 "warning",
248                 "error"
249               ]
250             },
251             "reportUnusedFunction": {
252               "type": "string",
253               "description": "Diagnostics for a function or method with a private name (starting with an underscore) that is not accessed.",
254               "default": "none",
255               "enum": [
256                 "none",
257                 "information",
258                 "warning",
259                 "error"
260               ]
261             },
262             "reportUnusedVariable": {
263               "type": "string",
264               "description": "Diagnostics for a variable that is not accessed.",
265               "default": "none",
266               "enum": [
267                 "none",
268                 "information",
269                 "warning",
270                 "error"
271               ]
272             },
273             "reportDuplicateImport": {
274               "type": "string",
275               "description": "Diagnostics for an imported symbol or module that is imported more than once.",
276               "default": "none",
277               "enum": [
278                 "none",
279                 "information",
280                 "warning",
281                 "error"
282               ]
283             },
284             "reportWildcardImportFromLibrary": {
285               "type": "string",
286               "description": "Diagnostics for an wildcard import from an external library.",
287               "default": "warning",
288               "enum": [
289                 "none",
290                 "information",
291                 "warning",
292                 "error"
293               ]
294             },
295             "reportOptionalSubscript": {
296               "type": "string",
297               "description": "Diagnostics for an attempt to subscript (index) a variable with an Optional type.",
298               "default": "error",
299               "enum": [
300                 "none",
301                 "information",
302                 "warning",
303                 "error"
304               ]
305             },
306             "reportOptionalMemberAccess": {
307               "type": "string",
308               "description": "Diagnostics for an attempt to access a member of a variable with an Optional type.",
309               "default": "error",
310               "enum": [
311                 "none",
312                 "information",
313                 "warning",
314                 "error"
315               ]
316             },
317             "reportOptionalCall": {
318               "type": "string",
319               "description": "Diagnostics for an attempt to call a variable with an Optional type.",
320               "default": "error",
321               "enum": [
322                 "none",
323                 "information",
324                 "warning",
325                 "error"
326               ]
327             },
328             "reportOptionalIterable": {
329               "type": "string",
330               "description": "Diagnostics for an attempt to use an Optional type as an iterable value (e.g. within a for statement).",
331               "default": "error",
332               "enum": [
333                 "none",
334                 "information",
335                 "warning",
336                 "error"
337               ]
338             },
339             "reportOptionalContextManager": {
340               "type": "string",
341               "description": "Diagnostics for an attempt to use an Optional type as a context manager (as a parameter to a with statement).",
342               "default": "error",
343               "enum": [
344                 "none",
345                 "information",
346                 "warning",
347                 "error"
348               ]
349             },
350             "reportOptionalOperand": {
351               "type": "string",
352               "description": "Diagnostics for an attempt to use an Optional type as an operand to a binary or unary operator (like '+', '==', 'or', 'not').",
353               "default": "error",
354               "enum": [
355                 "none",
356                 "information",
357                 "warning",
358                 "error"
359               ]
360             },
361             "reportTypedDictNotRequiredAccess": {
362               "type": "string",
363               "description": "Diagnostics for an attempt to access a non-required key within a TypedDict without a check for its presence.",
364               "default": "error",
365               "enum": [
366                 "none",
367                 "information",
368                 "warning",
369                 "error"
370               ]
371             },
372             "reportUntypedFunctionDecorator": {
373               "type": "string",
374               "description": "Diagnostics for function decorators that have no type annotations. These obscure the function type, defeating many type analysis features.",
375               "default": "none",
376               "enum": [
377                 "none",
378                 "information",
379                 "warning",
380                 "error"
381               ]
382             },
383             "reportUntypedClassDecorator": {
384               "type": "string",
385               "description": "Diagnostics for class decorators that have no type annotations. These obscure the class type, defeating many type analysis features.",
386               "default": "none",
387               "enum": [
388                 "none",
389                 "information",
390                 "warning",
391                 "error"
392               ]
393             },
394             "reportUntypedBaseClass": {
395               "type": "string",
396               "description": "Diagnostics for base classes whose type cannot be determined statically. These obscure the class type, defeating many type analysis features.",
397               "default": "none",
398               "enum": [
399                 "none",
400                 "information",
401                 "warning",
402                 "error"
403               ]
404             },
405             "reportUntypedNamedTuple": {
406               "type": "string",
407               "description": "Diagnostics when “namedtuple” is used rather than “NamedTuple”. The former contains no type information, whereas the latter does.",
408               "default": "none",
409               "enum": [
410                 "none",
411                 "information",
412                 "warning",
413                 "error"
414               ]
415             },
416             "reportPrivateUsage": {
417               "type": "string",
418               "description": "Diagnostics for incorrect usage of private or protected variables or functions. Protected class members begin with a single underscore _ and can be accessed only by subclasses. Private class members begin with a double underscore but do not end in a double underscore and can be accessed only within the declaring class. Variables and functions declared outside of a class are considered private if their names start with either a single or double underscore, and they cannot be accessed outside of the declaring module.",
419               "default": "none",
420               "enum": [
421                 "none",
422                 "information",
423                 "warning",
424                 "error"
425               ]
426             },
427             "reportPrivateImportUsage": {
428               "type": "string",
429               "description": "Diagnostics for incorrect usage of symbol imported from a \"py.typed\" module that is not re-exported from that module.",
430               "default": "error",
431               "enum": [
432                 "none",
433                 "information",
434                 "warning",
435                 "error"
436               ]
437             },
438             "reportConstantRedefinition": {
439               "type": "string",
440               "description": "Diagnostics for attempts to redefine variables whose names are all-caps with underscores and numerals.",
441               "default": "none",
442               "enum": [
443                 "none",
444                 "information",
445                 "warning",
446                 "error"
447               ]
448             },
449             "reportIncompatibleMethodOverride": {
450               "type": "string",
451               "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).",
452               "default": "none",
453               "enum": [
454                 "none",
455                 "information",
456                 "warning",
457                 "error"
458               ]
459             },
460             "reportIncompatibleVariableOverride": {
461               "type": "string",
462               "description": "Diagnostics for overrides in subclasses that redefine a variable in an incompatible way.",
463               "default": "none",
464               "enum": [
465                 "none",
466                 "information",
467                 "warning",
468                 "error"
469               ]
470             },
471             "reportOverlappingOverload": {
472               "type": "string",
473               "description": "Diagnostics for function overloads that overlap in signature and obscure each other or have incompatible return types.",
474               "default": "none",
475               "enum": [
476                 "none",
477                 "information",
478                 "warning",
479                 "error"
480               ]
481             },
482             "reportUninitializedInstanceVariable": {
483               "type": "string",
484               "description": "Diagnostics for instance variables that are not declared or initialized within class body or `__init__` method.",
485               "default": "none",
486               "enum": [
487                 "none",
488                 "information",
489                 "warning",
490                 "error"
491               ]
492             },
493             "reportInvalidStringEscapeSequence": {
494               "type": "string",
495               "description": "Diagnostics for invalid escape sequences used within string literals. The Python specification indicates that such sequences will generate a syntax error in future versions.",
496               "default": "warning",
497               "enum": [
498                 "none",
499                 "information",
500                 "warning",
501                 "error"
502               ]
503             },
504             "reportUnknownParameterType": {
505               "type": "string",
506               "description": "Diagnostics for input or return parameters for functions or methods that have an unknown type.",
507               "default": "none",
508               "enum": [
509                 "none",
510                 "information",
511                 "warning",
512                 "error"
513               ]
514             },
515             "reportUnknownArgumentType": {
516               "type": "string",
517               "description": "Diagnostics for call arguments for functions or methods that have an unknown type.",
518               "default": "none",
519               "enum": [
520                 "none",
521                 "information",
522                 "warning",
523                 "error"
524               ]
525             },
526             "reportUnknownLambdaType": {
527               "type": "string",
528               "description": "Diagnostics for input or return parameters for lambdas that have an unknown type.",
529               "default": "none",
530               "enum": [
531                 "none",
532                 "information",
533                 "warning",
534                 "error"
535               ]
536             },
537             "reportUnknownVariableType": {
538               "type": "string",
539               "description": "Diagnostics for variables that have an unknown type..",
540               "default": "none",
541               "enum": [
542                 "none",
543                 "information",
544                 "warning",
545                 "error"
546               ]
547             },
548             "reportUnknownMemberType": {
549               "type": "string",
550               "description": "Diagnostics for class or instance variables that have an unknown type.",
551               "default": "none",
552               "enum": [
553                 "none",
554                 "information",
555                 "warning",
556                 "error"
557               ]
558             },
559             "reportMissingParameterType": {
560               "type": "string",
561               "description": "Diagnostics for parameters that are missing a type annotation.",
562               "default": "none",
563               "enum": [
564                 "none",
565                 "information",
566                 "warning",
567                 "error"
568               ]
569             },
570             "reportMissingTypeArgument": {
571               "type": "string",
572               "description": "Diagnostics for generic class reference with missing type arguments.",
573               "default": "none",
574               "enum": [
575                 "none",
576                 "information",
577                 "warning",
578                 "error"
579               ]
580             },
581             "reportInvalidTypeVarUse": {
582               "type": "string",
583               "description": "Diagnostics for improper use of type variables in a function signature.",
584               "default": "warning",
585               "enum": [
586                 "none",
587                 "information",
588                 "warning",
589                 "error"
590               ]
591             },
592             "reportCallInDefaultInitializer": {
593               "type": "string",
594               "description": "Diagnostics for function calls within a default value initialization expression. Such calls can mask expensive operations that are performed at module initialization time.",
595               "default": "none",
596               "enum": [
597                 "none",
598                 "information",
599                 "warning",
600                 "error"
601               ]
602             },
603             "reportUnnecessaryIsInstance": {
604               "type": "string",
605               "description": "Diagnostics for 'isinstance' or 'issubclass' calls where the result is statically determined to be always true. Such calls are often indicative of a programming error.",
606               "default": "none",
607               "enum": [
608                 "none",
609                 "information",
610                 "warning",
611                 "error"
612               ]
613             },
614             "reportUnnecessaryCast": {
615               "type": "string",
616               "description": "Diagnostics for 'cast' calls that are statically determined to be unnecessary. Such calls are sometimes indicative of a programming error.",
617               "default": "none",
618               "enum": [
619                 "none",
620                 "information",
621                 "warning",
622                 "error"
623               ]
624             },
625             "reportUnnecessaryComparison": {
626               "type": "string",
627               "description": "Diagnostics for '==' and '!=' comparisons that are statically determined to be unnecessary. Such calls are sometimes indicative of a programming error.",
628               "default": "none",
629               "enum": [
630                 "none",
631                 "information",
632                 "warning",
633                 "error"
634               ]
635             },
636             "reportAssertAlwaysTrue": {
637               "type": "string",
638               "description": "Diagnostics for 'assert' statement that will provably always assert. This can be indicative of a programming error.",
639               "default": "warning",
640               "enum": [
641                 "none",
642                 "information",
643                 "warning",
644                 "error"
645               ]
646             },
647             "reportSelfClsParameterName": {
648               "type": "string",
649               "description": "Diagnostics for a missing or misnamed “self” parameter in instance methods and “cls” parameter in class methods. Instance methods in metaclasses (classes that derive from “type”) are allowed to use “cls” for instance methods.",
650               "default": "warning",
651               "enum": [
652                 "none",
653                 "information",
654                 "warning",
655                 "error"
656               ]
657             },
658             "reportImplicitStringConcatenation": {
659               "type": "string",
660               "description": "Diagnostics for two or more string literals that follow each other, indicating an implicit concatenation. This is considered a bad practice and often masks bugs such as missing commas.",
661               "default": "none",
662               "enum": [
663                 "none",
664                 "information",
665                 "warning",
666                 "error"
667               ]
668             },
669             "reportInvalidStubStatement": {
670               "type": "string",
671               "description": "Diagnostics for type stub statements that do not conform to PEP 484.",
672               "default": "none",
673               "enum": [
674                 "none",
675                 "information",
676                 "warning",
677                 "error"
678               ]
679             },
680             "reportIncompleteStub": {
681               "type": "string",
682               "description": "Diagnostics for the use of a module-level “__getattr__” function, indicating that the stub is incomplete.",
683               "default": "none",
684               "enum": [
685                 "none",
686                 "information",
687                 "warning",
688                 "error"
689               ]
690             },
691             "reportUndefinedVariable": {
692               "type": "string",
693               "description": "Diagnostics for a missing or misnamed “self” parameter in instance methods and “cls” parameter in class methods. Instance methods in metaclasses (classes that derive from “type”) are allowed to use “cls” for instance methods.",
694               "default": "error",
695               "enum": [
696                 "none",
697                 "information",
698                 "warning",
699                 "error"
700               ]
701             },
702             "reportUnboundVariable": {
703               "type": "string",
704               "description": "Diagnostics for unbound and possibly unbound variables.",
705               "default": "error",
706               "enum": [
707                 "none",
708                 "information",
709                 "warning",
710                 "error"
711               ]
712             },
713             "reportUnusedCallResult": {
714               "type": "string",
715               "description": "Diagnostics for call expressions whose results are not consumed and are not None.",
716               "default": "none",
717               "enum": [
718                 "none",
719                 "information",
720                 "warning",
721                 "error"
722               ]
723             },
724             "reportUnusedCoroutine": {
725               "type": "string",
726               "description": "Diagnostics for call expressions that return a Coroutine and whose results are not consumed.",
727               "default": "error",
728               "enum": [
729                 "none",
730                 "information",
731                 "warning",
732                 "error"
733               ]
734             },
735             "reportUnsupportedDunderAll": {
736               "type": "string",
737               "description": "Diagnostics for unsupported operations performed on __all__.",
738               "default": "warning",
739               "enum": [
740                 "none",
741                 "information",
742                 "warning",
743                 "error"
744               ]
745             }
746           },
747           "scope": "resource"
748         },
749         "python.analysis.logLevel": {
750           "type": "string",
751           "default": "Information",
752           "description": "Specifies the level of logging for the Output panel",
753           "enum": [
754             "Error",
755             "Warning",
756             "Information",
757             "Trace"
758           ]
759         },
760         "python.analysis.typeCheckingMode": {
761           "type": "string",
762           "default": "basic",
763           "enum": [
764             "off",
765             "basic",
766             "strict"
767           ],
768           "description": "Defines the default rule set for type checking.",
769           "scope": "resource"
770         },
771         "python.analysis.useLibraryCodeForTypes": {
772           "type": "boolean",
773           "default": true,
774           "description": "Use library implementations to extract type information when type stub is not present.",
775           "scope": "resource"
776         },
777         "python.linting.enabled": {
778           "type": "boolean",
779           "default": true,
780           "description": "Whether to lint Python files.",
781           "scope": "resource"
782         },
783         "python.linting.flake8Args": {
784           "type": "array",
785           "description": "Arguments passed in. Each argument is a separate item in the array.",
786           "default": [],
787           "items": {
788             "type": "string"
789           },
790           "scope": "resource"
791         },
792         "python.linting.flake8CategorySeverity.E": {
793           "type": "string",
794           "default": "Error",
795           "description": "Severity of Flake8 message type 'E'.",
796           "enum": [
797             "Hint",
798             "Error",
799             "Information",
800             "Warning"
801           ],
802           "scope": "resource"
803         },
804         "python.linting.flake8CategorySeverity.F": {
805           "type": "string",
806           "default": "Error",
807           "description": "Severity of Flake8 message type 'F'.",
808           "enum": [
809             "Hint",
810             "Error",
811             "Information",
812             "Warning"
813           ],
814           "scope": "resource"
815         },
816         "python.linting.flake8CategorySeverity.W": {
817           "type": "string",
818           "default": "Warning",
819           "description": "Severity of Flake8 message type 'W'.",
820           "enum": [
821             "Hint",
822             "Error",
823             "Information",
824             "Warning"
825           ],
826           "scope": "resource"
827         },
828         "python.linting.flake8Enabled": {
829           "type": "boolean",
830           "default": false,
831           "description": "Whether to lint Python files using flake8",
832           "scope": "resource"
833         },
834         "python.linting.flake8Path": {
835           "type": "string",
836           "default": "flake8",
837           "description": "Path to flake8, you can use a custom version of flake8 by modifying this setting to include the full path.",
838           "scope": "resource"
839         },
840         "python.linting.ignorePatterns": {
841           "type": "array",
842           "description": "Patterns used to exclude files or folders from being linted.",
843           "default": [
844             ".vscode/*.py",
845             "**/site-packages/**/*.py"
846           ],
847           "items": {
848             "type": "string"
849           },
850           "scope": "resource"
851         },
852         "python.linting.lintOnSave": {
853           "type": "boolean",
854           "default": true,
855           "description": "Whether to lint Python files when saved.",
856           "scope": "resource"
857         },
858         "python.linting.maxNumberOfProblems": {
859           "type": "number",
860           "default": 100,
861           "description": "Controls the maximum number of problems produced by the server.",
862           "scope": "resource"
863         },
864         "python.linting.banditArgs": {
865           "type": "array",
866           "description": "Arguments passed in. Each argument is a separate item in the array.",
867           "default": [],
868           "items": {
869             "type": "string"
870           },
871           "scope": "resource"
872         },
873         "python.linting.banditEnabled": {
874           "type": "boolean",
875           "default": false,
876           "description": "Whether to lint Python files using bandit.",
877           "scope": "resource"
878         },
879         "python.linting.banditPath": {
880           "type": "string",
881           "default": "bandit",
882           "description": "Path to bandit, you can use a custom version of bandit by modifying this setting to include the full path.",
883           "scope": "resource"
884         },
885         "python.linting.mypyArgs": {
886           "type": "array",
887           "description": "Arguments passed in. Each argument is a separate item in the array.",
888           "default": [
889             "--no-pretty",
890             "--ignore-missing-imports",
891             "--follow-imports=silent",
892             "--show-column-numbers"
893           ],
894           "items": {
895             "type": "string"
896           },
897           "scope": "resource"
898         },
899         "python.linting.mypyCategorySeverity.error": {
900           "type": "string",
901           "default": "Error",
902           "description": "Severity of Mypy message type 'Error'.",
903           "enum": [
904             "Hint",
905             "Error",
906             "Information",
907             "Warning"
908           ],
909           "scope": "resource"
910         },
911         "python.linting.mypyCategorySeverity.note": {
912           "type": "string",
913           "default": "Information",
914           "description": "Severity of Mypy message type 'Note'.",
915           "enum": [
916             "Hint",
917             "Error",
918             "Information",
919             "Warning"
920           ],
921           "scope": "resource"
922         },
923         "python.linting.mypyEnabled": {
924           "type": "boolean",
925           "default": false,
926           "description": "Whether to lint Python files using mypy.",
927           "scope": "resource"
928         },
929         "python.linting.mypyPath": {
930           "type": "string",
931           "default": "mypy",
932           "description": "Path to mypy, you can use a custom version of mypy by modifying this setting to include the full path.",
933           "scope": "resource"
934         },
935         "python.linting.pytypeEnabled": {
936           "type": "boolean",
937           "default": false,
938           "description": "Whether to lint Python files using pytype.",
939           "scope": "resource"
940         },
941         "python.linting.pytypePath": {
942           "type": "string",
943           "default": "pytype",
944           "description": "Path to pytype, you can use a custom version of mypy by modifying this setting to include the full path.",
945           "scope": "resource"
946         },
947         "python.linting.pytypeArgs": {
948           "type": "array",
949           "description": "Arguments passed in. Each argument is a separate item in the array.",
950           "default": [],
951           "items": {
952             "type": "string"
953           },
954           "scope": "resource"
955         },
956         "python.linting.pycodestyleArgs": {
957           "type": "array",
958           "description": "Arguments passed in. Each argument is a separate item in the array.",
959           "default": [],
960           "items": {
961             "type": "string"
962           },
963           "scope": "resource"
964         },
965         "python.linting.pycodestyleCategorySeverity.E": {
966           "type": "string",
967           "default": "Error",
968           "description": "Severity of pycodestyle  message type 'E'.",
969           "enum": [
970             "Hint",
971             "Error",
972             "Information",
973             "Warning"
974           ],
975           "scope": "resource"
976         },
977         "python.linting.pycodestyleCategorySeverity.W": {
978           "type": "string",
979           "default": "Warning",
980           "description": "Severity of pycodestyle message type 'W'.",
981           "enum": [
982             "Hint",
983             "Error",
984             "Information",
985             "Warning"
986           ],
987           "scope": "resource"
988         },
989         "python.linting.pycodestyleEnabled": {
990           "type": "boolean",
991           "default": false,
992           "description": "Whether to lint Python files using pycodestyle",
993           "scope": "resource"
994         },
995         "python.linting.pycodestylePath": {
996           "type": "string",
997           "default": "pycodestyle",
998           "description": "Path to pycodestyle, you can use a custom version of pycodestyle by modifying this setting to include the full path.",
999           "scope": "resource"
1000         },
1001         "python.linting.prospectorArgs": {
1002           "type": "array",
1003           "description": "Arguments passed in. Each argument is a separate item in the array.",
1004           "default": [],
1005           "items": {
1006             "type": "string"
1007           },
1008           "scope": "resource"
1009         },
1010         "python.linting.prospectorEnabled": {
1011           "type": "boolean",
1012           "default": false,
1013           "description": "Whether to lint Python files using prospector.",
1014           "scope": "resource"
1015         },
1016         "python.linting.prospectorPath": {
1017           "type": "string",
1018           "default": "prospector",
1019           "description": "Path to Prospector, you can use a custom version of prospector by modifying this setting to include the full path.",
1020           "scope": "resource"
1021         },
1022         "python.linting.pydocstyleArgs": {
1023           "type": "array",
1024           "description": "Arguments passed in. Each argument is a separate item in the array.",
1025           "default": [],
1026           "items": {
1027             "type": "string"
1028           },
1029           "scope": "resource"
1030         },
1031         "python.linting.pydocstyleEnabled": {
1032           "type": "boolean",
1033           "default": false,
1034           "description": "Whether to lint Python files using pydocstyle",
1035           "scope": "resource"
1036         },
1037         "python.linting.pydocstylePath": {
1038           "type": "string",
1039           "default": "pydocstyle",
1040           "description": "Path to pydocstyle, you can use a custom version of pydocstyle by modifying this setting to include the full path.",
1041           "scope": "resource"
1042         },
1043         "python.linting.pylamaArgs": {
1044           "type": "array",
1045           "description": "Arguments passed in. Each argument is a separate item in the array.",
1046           "default": [],
1047           "items": {
1048             "type": "string"
1049           },
1050           "scope": "resource"
1051         },
1052         "python.linting.pylamaEnabled": {
1053           "type": "boolean",
1054           "default": false,
1055           "description": "Whether to lint Python files using pylama.",
1056           "scope": "resource"
1057         },
1058         "python.linting.pylamaPath": {
1059           "type": "string",
1060           "default": "pylama",
1061           "description": "Path to pylama, you can use a custom version of pylama by modifying this setting to include the full path.",
1062           "scope": "resource"
1063         },
1064         "python.linting.pylintArgs": {
1065           "type": "array",
1066           "description": "Arguments passed in. Each argument is a separate item in the array.",
1067           "default": [],
1068           "items": {
1069             "type": "string"
1070           },
1071           "scope": "resource"
1072         },
1073         "python.linting.pylintCategorySeverity.convention": {
1074           "type": "string",
1075           "default": "Information",
1076           "description": "Severity of Pylint message type 'Convention/C'.",
1077           "enum": [
1078             "Hint",
1079             "Error",
1080             "Information",
1081             "Warning"
1082           ],
1083           "scope": "resource"
1084         },
1085         "python.linting.pylintCategorySeverity.error": {
1086           "type": "string",
1087           "default": "Error",
1088           "description": "Severity of Pylint message type 'Error/E'.",
1089           "enum": [
1090             "Hint",
1091             "Error",
1092             "Information",
1093             "Warning"
1094           ],
1095           "scope": "resource"
1096         },
1097         "python.linting.pylintCategorySeverity.fatal": {
1098           "type": "string",
1099           "default": "Error",
1100           "description": "Severity of Pylint message type 'Fatal/F'.",
1101           "enum": [
1102             "Hint",
1103             "Error",
1104             "Information",
1105             "Warning"
1106           ],
1107           "scope": "resource"
1108         },
1109         "python.linting.pylintCategorySeverity.refactor": {
1110           "type": "string",
1111           "default": "Hint",
1112           "description": "Severity of Pylint message type 'Refactor/R'.",
1113           "enum": [
1114             "Hint",
1115             "Error",
1116             "Information",
1117             "Warning"
1118           ],
1119           "scope": "resource"
1120         },
1121         "python.linting.pylintCategorySeverity.warning": {
1122           "type": "string",
1123           "default": "Warning",
1124           "description": "Severity of Pylint message type 'Warning/W'.",
1125           "enum": [
1126             "Hint",
1127             "Error",
1128             "Information",
1129             "Warning"
1130           ],
1131           "scope": "resource"
1132         },
1133         "python.linting.pylintEnabled": {
1134           "type": "boolean",
1135           "default": false,
1136           "description": "Whether to lint Python files using pylint.",
1137           "scope": "resource"
1138         },
1139         "python.linting.pylintPath": {
1140           "type": "string",
1141           "default": "pylint",
1142           "description": "Path to Pylint, you can use a custom version of pylint by modifying this setting to include the full path.",
1143           "scope": "resource"
1144         },
1145         "python.pythonPath": {
1146           "type": "string",
1147           "default": "python",
1148           "description": "Path to Python, you can use a custom version of Python.",
1149           "scope": "resource"
1150         },
1151         "python.venvPath": {
1152           "type": "string",
1153           "default": "",
1154           "description": "Path to folder with a list of Virtual Environments.",
1155           "scope": "resource"
1156         },
1157         "python.formatting.blackArgs": {
1158           "type": "array",
1159           "description": "Arguments passed in. Each argument is a separate item in the array.",
1160           "default": [],
1161           "items": {
1162             "type": "string"
1163           },
1164           "scope": "resource"
1165         },
1166         "python.formatting.blackPath": {
1167           "type": "string",
1168           "default": "black",
1169           "description": "Path to Black, you can use a custom version of Black by modifying this setting to include the full path.",
1170           "scope": "resource"
1171         },
1172         "python.formatting.darkerArgs": {
1173           "type": "array",
1174           "description": "Arguments passed in. Each argument is a separate item in the array.",
1175           "default": [],
1176           "items": {
1177             "type": "string"
1178           },
1179           "scope": "resource"
1180         },
1181         "python.formatting.darkerPath": {
1182           "type": "string",
1183           "default": "darker",
1184           "description": "Path to darker, you can use a custom version of darker by modifying this setting to include the full path.",
1185           "scope": "resource"
1186         },
1187         "python.formatting.yapfArgs": {
1188           "type": "array",
1189           "description": "Arguments passed in. Each argument is a separate item in the array.",
1190           "default": [],
1191           "items": {
1192             "type": "string"
1193           },
1194           "scope": "resource"
1195         },
1196         "python.formatting.yapfPath": {
1197           "type": "string",
1198           "default": "yapf",
1199           "description": "Path to yapf, you can use a custom version of yapf by modifying this setting to include the full path.",
1200           "scope": "resource"
1201         },
1202         "python.formatting.autopep8Args": {
1203           "type": "array",
1204           "description": "Arguments passed in. Each argument is a separate item in the array.",
1205           "default": [],
1206           "items": {
1207             "type": "string"
1208           },
1209           "scope": "resource"
1210         },
1211         "python.formatting.autopep8Path": {
1212           "type": "string",
1213           "default": "autopep8",
1214           "description": "Path to autopep8, you can use a custom version of autopep8 by modifying this setting to include the full path.",
1215           "scope": "resource"
1216         },
1217         "python.formatting.blackdPath": {
1218           "type": "string",
1219           "default": "blackd",
1220           "description": "Path to blackd, you can use a custom version of blackd by modifying this setting to include the full path.",
1221           "scope": "resource"
1222         },
1223         "python.formatting.blackdHTTPURL": {
1224           "type": "string",
1225           "default": "",
1226           "description": "Custom blackd server url.",
1227           "scope": "resource"
1228         },
1229         "python.formatting.blackdHTTPHeaders": {
1230           "type": "object",
1231           "default": {},
1232           "description": "Custom headers POST to blackd server, checkout https://github.com/psf/black/blob/master/docs/blackd.md#protocol",
1233           "scope": "resource"
1234         },
1235         "python.formatting.provider": {
1236           "type": "string",
1237           "default": "autopep8",
1238           "description": "Provider for formatting. Possible options include 'autopep8', 'black', and 'yapf'.",
1239           "enum": [
1240             "autopep8",
1241             "darker",
1242             "black",
1243             "blackd",
1244             "yapf",
1245             "none"
1246           ],
1247           "scope": "resource"
1248         },
1249         "python.sortImports.path": {
1250           "type": "string",
1251           "description": "Path to isort script, default using inner version",
1252           "default": "",
1253           "scope": "resource"
1254         },
1255         "python.sortImports.args": {
1256           "type": "array",
1257           "description": "Arguments passed in. Each argument is a separate item in the array.",
1258           "default": [],
1259           "items": {
1260             "type": "string"
1261           },
1262           "scope": "resource"
1263         },
1264         "pyright.disableCompletion": {
1265           "type": "boolean",
1266           "default": false,
1267           "description": "Disable completion from Pyright"
1268         },
1269         "pyright.disableDiagnostics": {
1270           "type": "boolean",
1271           "default": false,
1272           "description": "Disable diagnostics from Pyright"
1273         },
1274         "pyright.completion.importSupport": {
1275           "type": "boolean",
1276           "default": true,
1277           "description": "Enable `python-import` completion source, will list suggestions after input `import`"
1278         },
1279         "pyright.completion.snippetSupport": {
1280           "type": "boolean",
1281           "default": true,
1282           "description": "Enable completion snippets support"
1283         },
1284         "pyright.organizeimports.provider": {
1285           "type": "string",
1286           "default": "pyright",
1287           "description": "Organize imports provider",
1288           "enum": [
1289             "pyright",
1290             "isort"
1291           ]
1292         },
1293         "pyright.server": {
1294           "type": "string",
1295           "default": "",
1296           "description": "Custom pyright-langserver path"
1297         },
1298         "pyright.trace.server": {
1299           "type": "string",
1300           "scope": "window",
1301           "enum": [
1302             "off",
1303             "messages",
1304             "verbose"
1305           ],
1306           "enumDescriptions": [
1307             "No traces",
1308             "Error only",
1309             "Full log"
1310           ],
1311           "default": "off",
1312           "description": "Trace requests to Pyright"
1313         }
1314       }
1315     },
1316     "commands": [
1317       {
1318         "command": "python.sortImports",
1319         "title": "Sort Imports by isort",
1320         "category": "Pyright"
1321       },
1322       {
1323         "command": "python.runLinting",
1324         "title": "Run Linting",
1325         "category": "Pyright"
1326       },
1327       {
1328         "command": "pyright.version",
1329         "title": "Show Pyright version",
1330         "category": "Pyright"
1331       },
1332       {
1333         "command": "pyright.organizeimports",
1334         "title": "Organize Imports by Pyright",
1335         "category": "Pyright"
1336       },
1337       {
1338         "command": "pyright.restartserver",
1339         "title": "Restart Server",
1340         "category": "Pyright"
1341       },
1342       {
1343         "command": "pyright.createtypestub",
1344         "title": "Creates Type Stubs with given module name",
1345         "category": "Pyright"
1346       }
1347     ]
1348   },
1349   "dependencies": {
1350     "pyright": "^1.1.191"
1351   }
1352 }