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 1/4] pylintrc: turn on checks for reimported modules
Date: Tue, 04 Aug 2020 02:45:07
Message-Id: 20200804024458.2228759-1-bman@gentoo.org
1 * also, really fix the enable module structure
2
3 Signed-off-by: Aaron Bauman <bman@g.o>
4 ---
5 pylintrc | 20 +++++++++++---------
6 1 file changed, 11 insertions(+), 9 deletions(-)
7
8 diff --git a/pylintrc b/pylintrc
9 index 690941715..ad32f70d7 100644
10 --- a/pylintrc
11 +++ b/pylintrc
12 @@ -12,15 +12,17 @@
13 # --disable=W".
14 #disable=no-absolute-import,bad-continuation,C0103,C0114,C0115,E1101,W0201,no-name-in-module
15 disable=all
16 -enable=missing-final-newline,
17 - mixed-line-endings,
18 - redefined-builtin,
19 - trailing-newlines,
20 - trailing-whitespace,
21 - unexpected-line-ending-format,
22 - unnecessary-semicolon,
23 - unused-import,
24 - useless-object-inheritance
25 +enable=
26 + missing-final-newline,
27 + mixed-line-endings,
28 + redefined-builtin,
29 + reimported,
30 + trailing-newlines,
31 + trailing-whitespace,
32 + unexpected-line-ending-format,
33 + unnecessary-semicolon,
34 + unused-import,
35 + useless-object-inheritance
36
37 # A comma-separated list of package or module names from where C extensions may
38 # be loaded. Extensions are loading into the active Python interpreter and may
39 --
40 2.28.0

Replies