diff --git a/package.json b/package.json index cd0b0702..24d721b3 100644 --- a/package.json +++ b/package.json @@ -159,6 +159,33 @@ ], "scope": "resource" }, + "python.analysis.include": { + "type": "array", + "default": [], + "items": { + "type": "string" + }, + "description": "Paths of directories or files that should be included. If no paths are specified, pyright defaults to the workspace root directory. Paths may contain wildcard characters ** (a directory or multiple levels of directories), * (a sequence of zero or more characters), or ? (a single character).", + "scope": "resource" + }, + "python.analysis.exclude": { + "type": "array", + "default": [], + "items": { + "type": "string" + }, + "description": "Paths of directories or files that should not be included. These override the include directories, allowing specific subdirectories to be excluded. Note that files in the exclude paths may still be included in the analysis if they are referenced (imported) by source files that are not excluded. Paths may contain wildcard characters ** (a directory or multiple levels of directories), * (a sequence of zero or more characters), or ? (a single character). If no exclude paths are specified, pyright automatically excludes the following: `**/node_modules`, `**/__pycache__`, `.git` and any virtual environment directories.", + "scope": "resource" + }, + "python.analysis.ignore": { + "type": "array", + "default": [], + "items": { + "type": "string" + }, + "description": "Paths of directories or files whose diagnostic output (errors and warnings) should be suppressed even if they are an included file or within the transitive closure of an included file. Paths may contain wildcard characters ** (a directory or multiple levels of directories), * (a sequence of zero or more characters), or ? (a single character). If no value is provided, the value of python.linting.ignorePatterns (if set) will be used.", + "scope": "resource" + }, "python.analysis.diagnosticSeverityOverrides": { "type": "object", "description": "Allows a user to override the severity levels for individual diagnostics.",