summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-05-11 18:28:31 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-11 18:43:39 +0200
commit607b95b7a1245b02224486e6871b783c5e858500 (patch)
treeac9b74699c9cebbeab3f006a611c5ddc87039880 /eclass/python-utils-r1.eclass
parentdev-python/ansible-compat: Enable pytest-markdown explicitly (diff)
downloadgentoo-607b95b7a1245b02224486e6871b783c5e858500.tar.gz
gentoo-607b95b7a1245b02224486e6871b783c5e858500.tar.bz2
gentoo-607b95b7a1245b02224486e6871b783c5e858500.zip
python-utils-r1.eclass: Sterilize pytest-markdown
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/python-utils-r1.eclass')
-rw-r--r--eclass/python-utils-r1.eclass3
1 files changed, 3 insertions, 0 deletions
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