From dee41be2aba2ed9ebf04a32e66a695824256a9aa Mon Sep 17 00:00:00 2001 From: David Schulz Date: Fri, 10 Jan 2020 13:05:09 +0100 Subject: Python: install pyls with [all] tag on windows Pylint caused some troubles on windows, but since 0.31.0 it is disabled by default, so we can safely install the complete python language server on all platforms now. Change-Id: I2f7047e71308040c41d996679d19868c4e6fe73a Reviewed-by: Christian Stenger --- src/plugins/python/pythonutils.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/plugins/python/pythonutils.cpp') diff --git a/src/plugins/python/pythonutils.cpp b/src/plugins/python/pythonutils.cpp index 651510161c..72ca189cf3 100644 --- a/src/plugins/python/pythonutils.cpp +++ b/src/plugins/python/pythonutils.cpp @@ -257,12 +257,7 @@ public: connect(&m_killTimer, &QTimer::timeout, this, &PythonLSInstallHelper::cancel); connect(&m_watcher, &QFutureWatcher::canceled, this, &PythonLSInstallHelper::cancel); - // on windows the pyls 0.28.3 crashes with pylint so just install the pyflakes linter - const QString &pylsVersion = HostOsInfo::isWindowsHost() - ? QString{"python-language-server[pyflakes]"} - : QString{"python-language-server[all]"}; - - QStringList arguments = {"-m", "pip", "install", pylsVersion}; + QStringList arguments = {"-m", "pip", "install", "python-language-server[all]"}; // add --user to global pythons, but skip it for venv pythons if (!QDir(m_python.parentDir().toString()).exists("activate")) -- cgit v1.2.1