From 747e95ef7f222a27c9dee4c6d6ff4d6298b41023 Mon Sep 17 00:00:00 2001 From: Karthik Nadig Date: Mon, 23 Oct 2023 17:32:06 -0700 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Luciana Abud <45497113+luabud@users.noreply.github.com> --- src/client/logging/settingLogs.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/client/logging/settingLogs.ts b/src/client/logging/settingLogs.ts index bdb6a23a4241..116116c71fbf 100644 --- a/src/client/logging/settingLogs.ts +++ b/src/client/logging/settingLogs.ts @@ -74,10 +74,7 @@ function logOnLegacyLinterSetting(): boolean { ); } else if (['pydocstyle', 'pylama', 'pycodestyle', 'bandit'].includes(linter)) { traceError( - `selected linter "${linter}" may be suported extensions like "ruff" which include several linter rules`, - ); - traceError( - `Please install extension: https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff`, + `selected linter "${linter}" may be supported by extensions like "Ruff", which include several linter rules: https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff`, ); } } @@ -95,7 +92,7 @@ async function notifyLegacySettings(): Promise { _isShown = true; const response = await showErrorMessage( l10n.t( - 'Formatting and Linting features have been moved to separate extensions. Please see the logs for more information.', + 'Formatting and linting features have been deprecated from the Python extension. Please install a linter or a formatter extension. Open logs for more information.' ), Common.showLogs, );