1 |
commit: f207c793fd9e0bcb44628813ee5ec1c68dba72b9 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 31 01:07:08 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 31 01:07:08 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=f207c793 |
7 |
|
8 |
python-utils-r1.eclass: sync with ::gentoo |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
eclass/python-utils-r1.eclass | 12 ++++++++++-- |
13 |
1 file changed, 10 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass |
16 |
index 9170229202..53a305f40e 100644 |
17 |
--- a/eclass/python-utils-r1.eclass |
18 |
+++ b/eclass/python-utils-r1.eclass |
19 |
@@ -1,4 +1,4 @@ |
20 |
-# Copyright 1999-2021 Gentoo Authors |
21 |
+# Copyright 1999-2022 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
# @ECLASS: python-utils-r1.eclass |
25 |
@@ -17,7 +17,7 @@ |
26 |
# functions. It can be inherited safely. |
27 |
# |
28 |
# For more information, please see the Python Guide: |
29 |
-# https://dev.gentoo.org/~mgorny/python-guide/ |
30 |
+# https://projects.gentoo.org/python/guide/ |
31 |
|
32 |
# NOTE: When dropping support for EAPIs here, we need to update |
33 |
# metadata/install-qa-check.d/60python-pyc |
34 |
@@ -1350,6 +1350,14 @@ epytest() { |
35 |
-Wdefault |
36 |
# override color output |
37 |
"--color=${color}" |
38 |
+ # disable the undesirable-dependency plugins by default to |
39 |
+ # trigger missing argument strips. strip options that require |
40 |
+ # them from config files. enable them explicitly via "-p ..." |
41 |
+ # if you *really* need them. |
42 |
+ -p no:cov |
43 |
+ -p no:flake8 |
44 |
+ -p no:flakes |
45 |
+ -p no:pylint |
46 |
) |
47 |
local x |
48 |
for x in "${EPYTEST_DESELECT[@]}"; do |