#1568 tests: do local pylint disabling properly
Merged by adamwill. Opened by adamwill.
adamwill/pagure tests-pylint-local  into  master

Download 1568.patch

This is the right way to disable pylint messages for a single
line. It's not right to put the disable comment on its own
line directly above the line you want to disable the message
for. A pylint disable comment on its own line disables the
message in that block level - so if the comment is outside
of any class or function, it disables the message for the
entire rest of the file. See:
https://pylint.readthedocs.io/en/latest/faq.html#message-control

going to merge this one manually to save you the rebase :)

Commit 8dc0a9b5 fixes this pull-request

Pull-Request has been merged by awilliam@redhat.com

Metadata