From b169bfc9e2c981a46680c53343258d90be6f6d9f Mon Sep 17 00:00:00 2001 From: Edmund Wu Date: Mon, 22 Jun 2020 20:45:34 -0400 Subject: [PATCH] python3Packages.tinycss2: fix build --- pkgs/development/python-modules/tinycss2/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/tinycss2/default.nix b/pkgs/development/python-modules/tinycss2/default.nix index 6f4eb927f3a..35c0f76b084 100644 --- a/pkgs/development/python-modules/tinycss2/default.nix +++ b/pkgs/development/python-modules/tinycss2/default.nix @@ -36,6 +36,11 @@ buildPythonPackage rec { checkInputs = [ pytest pytestrunner pytestcov pytest-flake8 pytest-isort ]; + # https://github.com/PyCQA/pycodestyle/issues/598 + preCheck = '' + printf "[flake8]\nignore=W504,E741,E126" >> setup.cfg + ''; + meta = with lib; { description = "Low-level CSS parser for Python"; homepage = "https://github.com/Kozea/tinycss2";