commit:     607b95b7a1245b02224486e6871b783c5e858500
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 11 16:28:31 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 11 16:43:39 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=607b95b7

python-utils-r1.eclass: Sterilize pytest-markdown

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass/python-utils-r1.eclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index 0d958828e163..67dc5bf754d6 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -1299,6 +1299,9 @@ epytest() {
                -p no:flake8
                -p no:flakes
                -p no:pylint
+               # sterilize pytest-markdown as it runs code snippets from all
+               # *.md files found without any warning
+               -p no:markdown
        )
        local x
        for x in "${EPYTEST_DESELECT[@]}"; do

Reply via email to