about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-factoryboy
diff options
context:
space:
mode:
authorDrew Risinger <drewrisinger@users.noreply.github.com>2020-12-11 09:21:42 -0500
committerDrew Risinger <drewrisinger@users.noreply.github.com>2020-12-11 09:21:42 -0500
commitcc0bc67e5c523dc74defb97238fd021e214db30c (patch)
tree32888b25393809af3bfa3bdca1d596a709fb5e4a /pkgs/development/python-modules/pytest-factoryboy
parent0e0e02126fbdcb6f5907bd0241ff9eaa1a28bc4e (diff)
pythonPackages.pytest-factoryboy: remove pep8 from tests
Diffstat (limited to 'pkgs/development/python-modules/pytest-factoryboy')
-rw-r--r--pkgs/development/python-modules/pytest-factoryboy/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest-factoryboy/default.nix b/pkgs/development/python-modules/pytest-factoryboy/default.nix
index b5e65085abec8..48c5020a44f88 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.