summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-02-14 23:53:13 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2019-02-17 14:40:52 +0100
commite70cf2cd44eefec3aa873ebe3f910d722608462b (patch)
tree4c56b3a61036102fd08a2fee1e0857280a4c52fa /pkgs/development/python-modules
parent50a85be7877cd07a17e034b246b475ca85d6d9aa (diff)
python.pkgs.portend: disable flake8 tests
They fail with many occurences of `E117 over-indented`.
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/portend/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/portend/default.nix b/pkgs/development/python-modules/portend/default.nix
index c7c888f6a00e..a8dc0e9907af 100644
--- a/pkgs/development/python-modules/portend/default.nix
+++ b/pkgs/development/python-modules/portend/default.nix
@@ -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