python.pkgs.portend: disable flake8 tests
They fail with many occurences of `E117 over-indented`.
This commit is contained in:
parent
50a85be787
commit
e70cf2cd44
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
, pytest, setuptools_scm, tempora, pytest-flake8 }:
|
, pytest, setuptools_scm, tempora }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "portend";
|
pname = "portend";
|
||||||
@ -10,11 +10,15 @@ buildPythonPackage rec {
|
|||||||
sha256 = "b7ce7d35ea262415297cbfea86226513e77b9ee5f631d3baa11992d663963719";
|
sha256 = "b7ce7d35ea262415297cbfea86226513e77b9ee5f631d3baa11992d663963719";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace pytest.ini --replace "--flake8" ""
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools_scm ];
|
nativeBuildInputs = [ setuptools_scm ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ tempora ];
|
propagatedBuildInputs = [ tempora ];
|
||||||
|
|
||||||
checkInputs = [ pytest pytest-flake8 ];
|
checkInputs = [ pytest ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test
|
py.test
|
||||||
|
Loading…
Reference in New Issue
Block a user