Hey, On Sat, Aug 11, 2018 at 05:46:56AM +0000, Jiongjiong Li wrote: > Is there any convenient way to ignore max line length limit for import > statements, such as by setting rc file? > > pylint always report: C0301:Line too long (108/100). > > But according to [1]Google Style Guide, it's fine to not limit line length > for long import statements.
There's a --ignore-long-lines (under [format] if in .pylintrc) option which allows you to define a regex for that. Something like ignore-long-lines=^import should probably help. Florian -- https://www.qutebrowser.org | m...@the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/
signature.asc
Description: PGP signature
_______________________________________________ code-quality mailing list code-quality@python.org https://mail.python.org/mailman/listinfo/code-quality