mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
python3Packages.pyls-black: use pytestCheckHook
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub
|
||||
, black, toml, pytest, python-language-server, isPy3k
|
||||
, black, toml, pytestCheckHook, python-language-server, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -15,11 +15,7 @@ buildPythonPackage rec {
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
checkPhase = ''
|
||||
pytest
|
||||
'';
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
propagatedBuildInputs = [ black toml python-language-server ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user