aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-weasyprint/disable-flake8-isort-for-pytest.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2021-04-16 21:07:04 +0200
committerJakub Jirutka <jakub@jirutka.cz>2021-04-16 21:25:35 +0200
commitf63961629268edb4b2d8647b4fb0df0adef53685 (patch)
tree8e448bbaecd0e235fa00af17823fa591b52bd61e /testing/py3-weasyprint/disable-flake8-isort-for-pytest.patch
parentdbd25c0f148fa5182bcd5a4630126e6c19c72461 (diff)
testing/py3-weasyprint: actually run tests
Diffstat (limited to 'testing/py3-weasyprint/disable-flake8-isort-for-pytest.patch')
-rw-r--r--testing/py3-weasyprint/disable-flake8-isort-for-pytest.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/py3-weasyprint/disable-flake8-isort-for-pytest.patch b/testing/py3-weasyprint/disable-flake8-isort-for-pytest.patch
new file mode 100644
index 00000000000..1a0eda67801
--- /dev/null
+++ b/testing/py3-weasyprint/disable-flake8-isort-for-pytest.patch
@@ -0,0 +1,30 @@
+Disable flake8 and isort - these are linters, so not very useful for downstream.
+
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -61,8 +61,6 @@ install_requires =
+ tests_require =
+ pytest-runner
+ pytest-cov
+- pytest-flake8
+- pytest-isort
+ python_requires = >= 3.6
+
+ [options.entry_points]
+@@ -80,8 +78,6 @@ doc =
+ test =
+ pytest-runner
+ pytest-cov
+- pytest-flake8
+- pytest-isort
+
+ [bdist_wheel]
+ python-tag = py3
+@@ -94,7 +90,6 @@ build-dir = docs/_build
+ test = pytest
+
+ [tool:pytest]
+-addopts = --flake8 --isort
+ norecursedirs = build dist .cache .eggs .git
+
+ [coverage:run]