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 18/18] pylintrc: enable unused-imports
Date: Mon, 03 Aug 2020 20:21:36
Message-Id: 20200803202033.1585074-18-bman@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH 01/18] lib/_emerge/actions.py: drop unused-import by Aaron Bauman
1 * Repo is now clear of unused-imports... so turn it on by default
2
3 Signed-off-by: Aaron Bauman <bman@g.o>
4 ---
5 pylintrc | 2 +-
6 1 file changed, 1 insertion(+), 1 deletion(-)
7
8 diff --git a/pylintrc b/pylintrc
9 index 19f59c165..6f0eef386 100644
10 --- a/pylintrc
11 +++ b/pylintrc
12 @@ -12,7 +12,7 @@
13 # --disable=W".
14 #disable=no-absolute-import,bad-continuation,C0103,C0114,C0115,E1101,W0201,no-name-in-module
15 disable=all
16 -enable=redefined-builtin,useless-object-inheritance,trailing-newlines
17 +enable=redefined-builtin,useless-object-inheritance,trailing-newlines,unused-import
18
19 # A comma-separated list of package or module names from where C extensions may
20 # be loaded. Extensions are loading into the active Python interpreter and may
21 --
22 2.28.0

Replies