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] doc/api/conf.py: silence redefined-builtin for copyright
Date: Mon, 03 Aug 2020 02:21:27
Message-Id: 20200803022109.1118083-1-bman@gentoo.org
1 * This locally silences the W0622 warning for the override of the
2 copyright which is required.
3
4 Signed-off-by: Aaron Bauman <bman@g.o>
5 ---
6 doc/api/conf.py | 6 +++---
7 1 file changed, 3 insertions(+), 3 deletions(-)
8
9 diff --git a/doc/api/conf.py b/doc/api/conf.py
10 index f318ca25d..9522960c8 100644
11 --- a/doc/api/conf.py
12 +++ b/doc/api/conf.py
13 @@ -24,9 +24,9 @@ import portage
14
15 # -- Project information -----------------------------------------------------
16
17 -project = 'portage'
18 -copyright = '2020, Gentoo Authors'
19 -author = 'Gentoo Authors'
20 +project = 'portage' # pylint: disable=redefined-builtin
21 +copyright = '2020, Gentoo Authors' # pylint: disable=redefined-builtin
22 +author = 'Gentoo Authors' # pylint: disable=redefined-builtin
23
24 # The full version, including alpha/beta/rc tags
25 release = str(portage.VERSION)
26 --
27 2.28.0

Replies