1 |
commit: 607b95b7a1245b02224486e6871b783c5e858500 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 11 16:28:31 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 11 16:43:39 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=607b95b7 |
7 |
|
8 |
python-utils-r1.eclass: Sterilize pytest-markdown |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
eclass/python-utils-r1.eclass | 3 +++ |
13 |
1 file changed, 3 insertions(+) |
14 |
|
15 |
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass |
16 |
index 0d958828e163..67dc5bf754d6 100644 |
17 |
--- a/eclass/python-utils-r1.eclass |
18 |
+++ b/eclass/python-utils-r1.eclass |
19 |
@@ -1299,6 +1299,9 @@ epytest() { |
20 |
-p no:flake8 |
21 |
-p no:flakes |
22 |
-p no:pylint |
23 |
+ # sterilize pytest-markdown as it runs code snippets from all |
24 |
+ # *.md files found without any warning |
25 |
+ -p no:markdown |
26 |
) |
27 |
local x |
28 |
for x in "${EPYTEST_DESELECT[@]}"; do |