[packages/python3-josepy] - use also pytest-flake8

qboosh qboosh at pld-linux.org
Wed Jan 25 19:25:23 CET 2023


commit f4479cc54784f15710a6b5e97bb6ca4852a6b6dd
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Jan 25 19:26:42 2023 +0100

    - use also pytest-flake8

 python3-josepy.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/python3-josepy.spec b/python3-josepy.spec
index f96e319..2dde890 100644
--- a/python3-josepy.spec
+++ b/python3-josepy.spec
@@ -21,6 +21,7 @@ BuildRequires:	python3-cryptography >= 1.5
 BuildRequires:	python3-pyOpenSSL >= 0.13
 BuildRequires:	python3-pytest >= 2.8.0
 BuildRequires:	python3-pytest-cov
+BuildRequires:	python3-pytest-flake8 >= 0.5
 %endif
 %if %{with doc}
 BuildRequires:	python3-Sphinx >= 1.0
@@ -57,7 +58,7 @@ Dokumentacja API modułu josepy.
 
 %if %{with tests}
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-PYTEST_PLUGINS="pytest_cov.plugin" \
+PYTEST_PLUGINS="pytest_cov.plugin,pytest_flake8" \
 PYTHONPATH=$(pwd)/src \
 %{__python3} -m pytest tests
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-josepy.git/commitdiff/f4479cc54784f15710a6b5e97bb6ca4852a6b6dd



More information about the pld-cvs-commit mailing list