Gentoo Archives: gentoo-portage-dev

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

Replies