[PyQt] pyrcc: "-name" does not do anything

Anonymous Maarten anonymous.maarten at gmail.com
Tue Jul 25 10:37:23 BST 2017


On 25 July 2017 at 10:36, Florian Bruhin <me at the-compiler.org> wrote:

> On Tue, Jul 25, 2017 at 09:32:15AM +0100, Phil Thompson wrote:
> > If the problem is complaints from a linter then that's the linter's
> > problem as importing a module but doing nothing else with it is
> > perfectly reasonable IMHO.
>
> FWIW linters are usually configurable - e.g. for pylint, putting
> something like this in .pylintrc helps:
>
>     [master]
>     ignore=resources.py
>
> While I do respect your opinion, I think having side effects by doing
imports is not very pythonic.
Googling for 'python import side effect' returns some discussions.

But I can happily live with/work around the current situation :)

Thanks for your time and support.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170725/d4385f91/attachment.html>


More information about the PyQt mailing list