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