pylint: Another fix for gtk3 version detection

We can't depend on file ordering apparently. Use pylint's
init-hook feature instead

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2021-05-22 13:26:32 -04:00
parent fe7f4db6e7
commit ed863a66a1

View File

@ -10,6 +10,8 @@ enable=fixme
[MASTER]
# Don't pickle any data for cross run comparison reports
persistent=no
# Make sure pylint checks against gtk3
init-hook="import gi; gi.require_version('Gtk', '3.0')"
[REPORTS]