From efe7a71cc64d5cf08b4ab14a9d5d300f24bec022 Mon Sep 17 00:00:00 2001 From: "gcp-cherry-pick-bot[bot]" <98988430+gcp-cherry-pick-bot[bot]@users.noreply.github.com> Date: Fri, 22 Nov 2024 02:33:38 +0100 Subject: [PATCH] pylsp: Update mypy plugin name (cherry-pick #21031) (#21033) Cherry-picked pylsp: Update mypy plugin name (#21031) Follow-up to #21025 Release Notes: - N/A Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> --- crates/languages/src/python.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/languages/src/python.rs b/crates/languages/src/python.rs index 431bc4924c2f7b..4eac2e82f62ca8 100644 --- a/crates/languages/src/python.rs +++ b/crates/languages/src/python.rs @@ -738,7 +738,7 @@ impl LspAdapter for PyLspAdapter { "plugins": { "pycodestyle": {"enabled": false}, "rope_autoimport": {"enabled": true, "memory": true}, - "mypy": {"enabled": false} + "pylsp_mypy": {"enabled": false} }, "rope": { "ropeFolder": null @@ -766,7 +766,7 @@ impl LspAdapter for PyLspAdapter { .or_insert_with(|| Value::String(toolchain.path.clone().into())); } if let Some(pylint) = python - .entry("mypy") + .entry("pylsp_mypy") .or_insert(Value::Object(serde_json::Map::default())) .as_object_mut() {