python.pkgs.portend: disable flake8 tests

They fail with many occurences of `E117 over-indented`.
This commit is contained in:
Robert Schütz 2019-02-14 23:53:13 +01:00 committed by Frederik Rietdijk
parent 50a85be787
commit e70cf2cd44

View file

@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi
, pytest, setuptools_scm, tempora, pytest-flake8 }:
, pytest, setuptools_scm, tempora }:
buildPythonPackage rec {
pname = "portend";
@ -10,11 +10,15 @@ buildPythonPackage rec {
sha256 = "b7ce7d35ea262415297cbfea86226513e77b9ee5f631d3baa11992d663963719";
};
postPatch = ''
substituteInPlace pytest.ini --replace "--flake8" ""
'';
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ tempora ];
checkInputs = [ pytest pytest-flake8 ];
checkInputs = [ pytest ];
checkPhase = ''
py.test