1 |
commit: aa329cafb8f7354a02c4da745ccf9208e0d4e4f8 |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 4 00:16:19 2020 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 4 01:38:00 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=aa329caf |
7 |
|
8 |
pylintrc: enable more checks |
9 |
|
10 |
* These checks are already passing... so let's enable them so we do not |
11 |
have regressions |
12 |
* Sort the checks alphabetically and break into more manageable |
13 |
structure |
14 |
* Display all warnings/errors from pylint by enabling all messages as |
15 |
all listed checks are now passing. This will allow folks to run |
16 |
'pylint' without having to modify the pylintrc. |
17 |
|
18 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
19 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
20 |
|
21 |
pylintrc | 12 ++++++++++-- |
22 |
1 file changed, 10 insertions(+), 2 deletions(-) |
23 |
|
24 |
diff --git a/pylintrc b/pylintrc |
25 |
index 7fd05f322..690941715 100644 |
26 |
--- a/pylintrc |
27 |
+++ b/pylintrc |
28 |
@@ -12,7 +12,15 @@ |
29 |
# --disable=W". |
30 |
#disable=no-absolute-import,bad-continuation,C0103,C0114,C0115,E1101,W0201,no-name-in-module |
31 |
disable=all |
32 |
-enable=redefined-builtin,useless-object-inheritance,trailing-newlines,unused-import,trailing-whitespace |
33 |
+enable=missing-final-newline, |
34 |
+ mixed-line-endings, |
35 |
+ redefined-builtin, |
36 |
+ trailing-newlines, |
37 |
+ trailing-whitespace, |
38 |
+ unexpected-line-ending-format, |
39 |
+ unnecessary-semicolon, |
40 |
+ unused-import, |
41 |
+ useless-object-inheritance |
42 |
|
43 |
# A comma-separated list of package or module names from where C extensions may |
44 |
# be loaded. Extensions are loading into the active Python interpreter and may |
45 |
@@ -51,7 +59,7 @@ unsafe-load-any-extension=no |
46 |
|
47 |
# Only show warnings with the listed confidence levels. Leave empty to show |
48 |
# all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED. |
49 |
-confidence=HIGH |
50 |
+confidence= |
51 |
|
52 |
[REPORTS] |