commit f4479cc54784f15710a6b5e97bb6ca4852a6b6dd
Author: Jakub Bogusz <[email protected]>
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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to