From 66e5cfbc49249159a07cb340c3887e4d52e98e55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 7 Jul 2024 13:52:19 +0200 Subject: [PATCH] Workaround pylint issue For some reaslon pylint doesn't see GLib.VariantType.new --- qui/tray/disk_space.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qui/tray/disk_space.py b/qui/tray/disk_space.py index 1ac77d92..8d8c8094 100644 --- a/qui/tray/disk_space.py +++ b/qui/tray/disk_space.py @@ -346,6 +346,8 @@ def __init__(self, **properties): self.set_application_id("org.qubes.qui.tray.DiskSpace") self.register() + # for some reaslon pylint doesn't see GLib.VariantType.new + # pylint: disable=no-member prefs_action = Gio.SimpleAction.new("prefs", GLib.VariantType.new("s")) prefs_action.connect("activate", launch_preferences_dialog) self.add_action(prefs_action)