virt-manager and pylint 1.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



pylint 1.1 was pushed to Fedora 20 updates (the distro I'm currently using).
However it is really noisy, raising a lot of gobject-introspection related
no-member errors. However this is a bug, and hopefully we can get a new build
shortly:

https://bugzilla.redhat.com/show_bug.cgi?id=1079643

After that's fixed, things are still pretty noisy with some pep8 reports,
which I disabled in virt-manager's pylint config. Right now with the patch
from the above bug, pylint 1.1 is quiet.

However, adding those new message ids to the pylint config breaks running
older pylint :/ This sucks, and I've encountered it quite often in the past,
but usually I was the only one submitting patches to virt-manager so it didn't
really matter :)

I opened a bug with pylint, asking to not fail on unknown message ids:

https://bitbucket.org/logilab/pylint/issue/170/patch-dont-exit-on-unknown-disable-enable

but that won't help old versions in the wild.

If anyone is stuck with an older version, I'd recommend keeping a local commit
in your git repo that removes the newly added messages from tests/pylint.cfg

Thanks,
Cole

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux