pylsp: Update mypy plugin name (cherry-pick #21031) (#21033)
gcp-cherry-pick-bot[bot]
and
Piotr Osiewicz
created
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>
Change summary
crates/languages/src/python.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Detailed changes
@@ -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()
{