From cc0bc67e5c523dc74defb97238fd021e214db30c Mon Sep 17 00:00:00 2001 From: Drew Risinger Date: Fri, 11 Dec 2020 09:21:42 -0500 Subject: [PATCH] pythonPackages.pytest-factoryboy: remove pep8 from tests --- pkgs/development/python-modules/pytest-factoryboy/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/pytest-factoryboy/default.nix b/pkgs/development/python-modules/pytest-factoryboy/default.nix index b5e65085abe..48c5020a44f 100644 --- a/pkgs/development/python-modules/pytest-factoryboy/default.nix +++ b/pkgs/development/python-modules/pytest-factoryboy/default.nix @@ -21,6 +21,9 @@ buildPythonPackage rec { sha256 = "0m1snyybq2k51khlydhisq300vzys897vdbsicph628iran950hn"; }; + # TODO: remove in next release, it's removed in master. + postPatch = "substituteInPlace tox.ini --replace '--pep8' ''"; + propagatedBuildInputs = [ factory_boy inflection pytest ]; # The project uses tox, which we can't. So we simply run pytest manually.