python3Packages.tinycss2: fix build

This commit is contained in:
Edmund Wu 2020-06-22 20:45:34 -04:00 committed by Jon
parent 84066b0a4f
commit b169bfc9e2

View File

@ -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";