[virt-tools-list] virt-manager and pylint 1.1

Cole Robinson crobinso at redhat.com
Sat Mar 22 16:13:17 UTC 2014


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




More information about the virt-tools-list mailing list