Re: [PATCH 4/4] pylintrc: enable more checks
Zac Medico <[email protected]>
| Newsgroups | gmane.linux.gentoo.portage.devel |
|---|---|
| Message-ID | <[email protected]> |
On 8/3/20 5:16 PM, Aaron Bauman wrote: > * These checks are already passing... so let's enable them so we do not > have regressions > * Sort the checks alphabetically and break into more manageable > structure > * Display all warnings/errors from pylint by enabling all messages as > all listed checks are now passing. This will allow folks to run > 'pylint' without having to modify the pylintrc. > > Signed-off-by: Aaron Bauman <[email protected]> > --- > pylintrc | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > > diff --git a/pylintrc b/pylintrc > index 7fd05f322..1f6867d21 100644 > --- a/pylintrc > +++ b/pylintrc > @@ -12,7 +12,15 @@ > # --disable=W". > #disable=no-absolute-import,bad-continuation,C0103,C0114,C0115,E1101,W0201,no-name-in-module > disable=all > -enable=redefined-builtin,useless-object-inheritance,trailing-newlines,unused-import,trailing-whitespace > +enable=missing-final-newline, > + mixed-line-endings, > + redefined-builtin, > + trailing-newlines, > + trailing-whitespace, > + unexpected-line-ending-format, > + unnecessary-semicolon, > + useless-object-inheritance, > + unused-import > > # A comma-separated list of package or module names from where C extensions may > # be loaded. Extensions are loading into the active Python interpreter and may > @@ -51,7 +59,7 @@ unsafe-load-any-extension=no > > # Only show warnings with the listed confidence levels. Leave empty to show > # all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED. > -confidence=HIGH > +confidence= > > [REPORTS] > > Thanks, merged the whole series: https://gitweb.gentoo.org/proj/portage.git/commit/?id=aa329cafb8f7354a02c4da745ccf9208e0d4e4f8 -- Thanks, Zac
signature.asc
(application/pgp-signature, 981 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQKTBAEBCgB9FiEE8OgXaltWzqgSupCu0HX7jBBKPSAFAl8ovHRfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEYw RTgxNzZBNUI1NkNFQTgxMkJBOTBBRUQwNzVGQjhDMTA0QTNEMjAACgkQ0HX7jBBK PSAGNQ//SIkyerSAKbsXWRhKcWiQg/9cPngxKV1Bl9f8BvlvVZf1XHK4fWmMLQRL iOiL2Qrj4smb03aC+dstnPOTZgpzAOfdiGqZskkCZ3QnH8gcJ+jA47voxS4NhwJb 5+nd6y5McdIX2h3y2r8wgZHgsjmV1aRp/Ci8do+ghppXK8HN5pYVrSiHNiTWMD7x Rqx1JoNxX+8alcdlCRcMwsPqHDKhxi70ZTFZraw1p5hQFXgAOwGzYc7JOpj2Afz9 mne17C7YS74FDu2JjaH26eT+yWZmIStmqhQcKDl9U5IVeg1+WNeY3DeJxd9b801P 1j+9qt0CvHj1K+UlJ2AB7exeuc3fnPySNc/WiMwp5b7CxcJ1Jqj0A/B/Ycr4/Rlg j7zHRYvDgPUHYqD0D2EPKOOqHfnUSa4YCbaEBNzHXIM23PIt69o/Rv1EsTybUeIZ NoTza2X6/x3eU+rr+EX2bGD0qPMFyCX9Hq/n/7cNeXdilDldeVJfBU9RV4+WhKDe Ve0x/EpEZcbzJ9zxTryPDHEA+K2X+R+PDT+G+LeTYPWybvpgtxxQSOhwxdMl1PNY 8Jr2n1YWsMs3lbSn4H0FNr68V4qkp52Q9T5570Mgm6lKQXYReMXX13T7ZDsJcSXB QanVlyR0mRHW1zn0uKM+UhuwTN6Qxbo8t03IvsY1F8jK5GIQgP4= =zubI -----END PGP SIGNATURE-----