Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o, Aaron Bauman <bman@g.o>
Subject: Re: [gentoo-portage-dev] [PATCH] doc/api/conf.py: silence redefined-builtin for copyright
Date: Mon, 03 Aug 2020 02:56:56
Message-Id: cf45ed3e-e477-be46-429c-b7ed2fce55b0@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH] doc/api/conf.py: silence redefined-builtin for copyright by Aaron Bauman
1 On 8/2/20 7:21 PM, Aaron Bauman wrote:
2 > * This locally silences the W0622 warning for the override of the
3 > copyright which is required.
4 >
5 > Signed-off-by: Aaron Bauman <bman@g.o>
6 > ---
7 > doc/api/conf.py | 6 +++---
8 > 1 file changed, 3 insertions(+), 3 deletions(-)
9 >
10 > diff --git a/doc/api/conf.py b/doc/api/conf.py
11 > index f318ca25d..9522960c8 100644
12 > --- a/doc/api/conf.py
13 > +++ b/doc/api/conf.py
14 > @@ -24,9 +24,9 @@ import portage
15 >
16 > # -- Project information -----------------------------------------------------
17 >
18 > -project = 'portage'
19 > -copyright = '2020, Gentoo Authors'
20 > -author = 'Gentoo Authors'
21 > +project = 'portage' # pylint: disable=redefined-builtin
22 > +copyright = '2020, Gentoo Authors' # pylint: disable=redefined-builtin
23 > +author = 'Gentoo Authors' # pylint: disable=redefined-builtin
24 >
25 > # The full version, including alpha/beta/rc tags
26 > release = str(portage.VERSION)
27 >
28
29 Thanks, merged the copyright line as discussed in #gentoo-portage:
30
31 https://gitweb.gentoo.org/proj/portage.git/commit/?id=099e575a4cc132e01534023585cf73b7ff806b95
32 --
33 Thanks,
34 Zac

Attachments

File name MIME type
signature.asc application/pgp-signature