Merge pull request #109501 from grwlf/pyls-no-pyflakes-leak
This commit is contained in:
commit
6834d03bb5
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "07x6jr4z20jxn03bxblwc8vk0ywha492cgwfhj7q97nb5cm7kx0q";
|
sha256 = "07x6jr4z20jxn03bxblwc8vk0ywha492cgwfhj7q97nb5cm7kx0q";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ setuptools jedi pluggy future python-jsonrpc-server flake8 ujson ]
|
propagatedBuildInputs = [ setuptools jedi pluggy future python-jsonrpc-server ujson ]
|
||||||
++ lib.optional (withProvider "autopep8") autopep8
|
++ lib.optional (withProvider "autopep8") autopep8
|
||||||
++ lib.optional (withProvider "mccabe") mccabe
|
++ lib.optional (withProvider "mccabe") mccabe
|
||||||
++ lib.optional (withProvider "pycodestyle") pycodestyle
|
++ lib.optional (withProvider "pycodestyle") pycodestyle
|
||||||
@ -42,12 +42,13 @@ buildPythonPackage rec {
|
|||||||
++ lib.optional isPy27 configparser
|
++ lib.optional isPy27 configparser
|
||||||
++ lib.optionals (pythonOlder "3.2") [ backports_functools_lru_cache futures ];
|
++ lib.optionals (pythonOlder "3.2") [ backports_functools_lru_cache futures ];
|
||||||
|
|
||||||
|
|
||||||
# The tests require all the providers, disable otherwise.
|
# The tests require all the providers, disable otherwise.
|
||||||
doCheck = providers == ["*"];
|
doCheck = providers == ["*"];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook mock pytestcov coverage flaky
|
pytestCheckHook mock pytestcov coverage flaky
|
||||||
|
# Do not propagate flake8 or it will enable pyflakes implicitly
|
||||||
|
flake8
|
||||||
# rope is technically a dependency, but we don't add it by default since we
|
# rope is technically a dependency, but we don't add it by default since we
|
||||||
# already have jedi, which is the preferred option
|
# already have jedi, which is the preferred option
|
||||||
rope
|
rope
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, isPy27, makeDesktopItem, intervaltree, jedi, pycodestyle,
|
{ lib, buildPythonPackage, fetchPypi, isPy27, makeDesktopItem, intervaltree,
|
||||||
psutil, pyflakes, rope, numpy, scipy, matplotlib, pylint, keyring, numpydoc,
|
jedi, pycodestyle, psutil, pyflakes, rope, numpy, scipy, matplotlib, pylint,
|
||||||
qtconsole, qtawesome, nbconvert, mccabe, pyopengl, cloudpickle, pygments,
|
keyring, numpydoc, qtconsole, qtawesome, nbconvert, mccabe, pyopengl,
|
||||||
spyder-kernels, qtpy, pyzmq, chardet, qdarkstyle, watchdog, python-language-server
|
cloudpickle, pygments, spyder-kernels, qtpy, pyzmq, chardet, qdarkstyle,
|
||||||
, pyqtwebengine, atomicwrites, pyxdg, diff-match-patch, three-merge, pyls-black, pyls-spyder
|
watchdog, python-language-server, pyqtwebengine, atomicwrites, pyxdg,
|
||||||
|
diff-match-patch, three-merge, pyls-black, pyls-spyder, flake8
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -23,6 +24,7 @@ buildPythonPackage rec {
|
|||||||
numpydoc qtconsole qtawesome nbconvert mccabe pyopengl cloudpickle spyder-kernels
|
numpydoc qtconsole qtawesome nbconvert mccabe pyopengl cloudpickle spyder-kernels
|
||||||
pygments qtpy pyzmq chardet pyqtwebengine qdarkstyle watchdog python-language-server
|
pygments qtpy pyzmq chardet pyqtwebengine qdarkstyle watchdog python-language-server
|
||||||
atomicwrites pyxdg diff-match-patch three-merge pyls-black pyls-spyder
|
atomicwrites pyxdg diff-match-patch three-merge pyls-black pyls-spyder
|
||||||
|
flake8
|
||||||
];
|
];
|
||||||
|
|
||||||
# There is no test for spyder
|
# There is no test for spyder
|
||||||
|
Loading…
x
Reference in New Issue
Block a user