From 295a6dd3065455aca1108ff0f402c043664aeee2 Mon Sep 17 00:00:00 2001 From: Eric Traut Date: Thu, 20 Aug 2020 09:17:32 -0700 Subject: [PATCH] Changed capitalization of the python.analysis.logLevel setting so it matches Pylance. The settings code in Pyright is case insensitive, but the JSON editor emits a warning if the case doesn't match. --- client/package.json | 8 ++++---- docs/settings.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/package.json b/client/package.json index 9c1af7083..1d914ccc4 100644 --- a/client/package.json +++ b/client/package.json @@ -540,10 +540,10 @@ "default": "info", "description": "Specifies the level of logging for the Output panel", "enum": [ - "error", - "warning", - "info", - "trace" + "Error", + "Warning", + "Info", + "Trace" ] }, "python.analysis.typeCheckingMode": { diff --git a/docs/settings.md b/docs/settings.md index a14825c59..3f52ae51d 100644 --- a/docs/settings.md +++ b/docs/settings.md @@ -20,7 +20,7 @@ The Pyright VS Code extension honors the following settings. **python.analysis.extraPaths** [array of paths]: Paths to add to the default execution environment extra paths if there are no execution environments defined in the config file. -**python.analysis.logLevel** ["error", "warning", "info", or "trace"]: Level of logging for Output panel. The default value for this option is "info". +**python.analysis.logLevel** ["Error", "Warning", "Info", or "Trace"]: Level of logging for Output panel. The default value for this option is "Info". **python.analysis.stubPath** [path]: Path to directory containing custom type stub files.