Re: [PATCH] doc/api/conf.py: silence redefined-builtin for copyright

Zac Medico <[email protected]>
Newsgroups gmane.linux.gentoo.portage.devel
Message-ID <[email protected]>
On 8/2/20 7:21 PM, Aaron Bauman wrote:
> * This locally silences the W0622 warning for the override of the
>   copyright which is required.
> 
> Signed-off-by: Aaron Bauman <[email protected]>
> ---
>  doc/api/conf.py | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/doc/api/conf.py b/doc/api/conf.py
> index f318ca25d..9522960c8 100644
> --- a/doc/api/conf.py
> +++ b/doc/api/conf.py
> @@ -24,9 +24,9 @@ import portage
>  
>  # -- Project information -----------------------------------------------------
>  
> -project = 'portage'
> -copyright = '2020, Gentoo Authors'
> -author = 'Gentoo Authors'
> +project = 'portage' # pylint: disable=redefined-builtin
> +copyright = '2020, Gentoo Authors' # pylint: disable=redefined-builtin
> +author = 'Gentoo Authors' # pylint: disable=redefined-builtin
>  
>  # The full version, including alpha/beta/rc tags
>  release = str(portage.VERSION)
> 

Thanks, merged the copyright line as discussed in #gentoo-portage:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=099e575a4cc132e01534023585cf73b7ff806b95
-- 
Thanks,
Zac
signature.asc (application/pgp-signature, 981 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQKTBAEBCgB9FiEER1is2Nqa/UampgQK1hDPNyHnis0FAl8nfPNfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDQ3
NThBQ0Q4REE5QUZENDZBNkE2MDQwQUQ2MTBDRjM3MjFFNzhBQ0QACgkQ1hDPNyHn
is256RAAzE8bfhGrFgELjhC5/oyka5/d5Jq7csyjJ+XBZ9CmmCVmlqSnwQ3ochJ9
zmuJ0CxawGBUeIf4MPwXeLRJhwVKxrgduj8AUuMsobSIhAdOijKDKvQzq9dN9gXm
srOTewXDwNd+wVHiHh6HK+RzDce1eiwv6PhQx1oML528CyjmvkGJWVUEec+oiCDy
LuIT2OYXXxw9G1reluTKArjHM+PgLr/fzx5HJtyc7qGhPu+zV/kmD0c9UMmRhyJa
1+OZch6uY37F3DJnFz1N9ulffCSFBjyPUmPtOx75IEfEkjKdIieL3bF9Py19xkaN
gXo0jiKLJXO5HEyOsN36x25JZ0E9cjbBcZI1y+UnXpH77KA6Erql9bI/C6YTlzKH
W5c/7a2zWQD3vHnrZc19JEdBMjVTOeTHJ+F3KJd6yGDa15TThGi3aHQ55au3pab4
MI/0fjblIbmPYNRwNsC21Zb1LQxTUP9py+XAIcOaaLJEprOABxlsUmoH9qF0mEy/
QM8lNvcdxPDNGeRRTTutLud0gAO1OCfjjYMDOIiY3+nz4gRxh3QP32pMT9a02qMK
9yW5cToJSJexWFBxKLPCwTm4ASTW5EWEe4UFAAsJ6/lAU5jCVaakgiWOmtUIa+Hu
D5okpgLgraCVz02Ii8/OW6JGwnPOQgsElNQGW38JRc4QqeMoA9E=
=a1iw
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.