gnu: python-language-server: Enable tests.
* gnu/packages/python-xyz.scm (python-language-server): Enable tests. [arguments]: Add phases to enable tests. [propagated-inputs]: Add python-flake8.master
parent
30fd24641c
commit
4907d70898
|
@ -4510,10 +4510,21 @@ Server (PLS).")
|
||||||
(base32
|
(base32
|
||||||
"1c0pnk2aibfhfaanrs0a5gkabkvz81gj20z7r0152b7fcx5ci14r"))))
|
"1c0pnk2aibfhfaanrs0a5gkabkvz81gj20z7r0152b7fcx5ci14r"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'check 'set-HOME
|
||||||
|
(lambda _ (setenv "HOME" "/tmp") #t))
|
||||||
|
(replace 'check
|
||||||
|
(lambda _
|
||||||
|
;; Disable failing test.
|
||||||
|
(invoke "python" "-m" "pytest" "-k"
|
||||||
|
"not test_pyqt_completion"))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-autopep8" ,python-autopep8)
|
`(("python-autopep8" ,python-autopep8)
|
||||||
("python-configparser" ,python-configparser)
|
("python-configparser" ,python-configparser)
|
||||||
("python-pydocstyle" ,python-pydocstyle)
|
("python-pydocstyle" ,python-pydocstyle)
|
||||||
|
("python-flake8" ,python-flake8)
|
||||||
("python-future" ,python-future)
|
("python-future" ,python-future)
|
||||||
("python-jedi" ,python-jedi)
|
("python-jedi" ,python-jedi)
|
||||||
("python-jsonrpc-server" ,python-jsonrpc-server)
|
("python-jsonrpc-server" ,python-jsonrpc-server)
|
||||||
|
|
Reference in New Issue