Skip to content

Commit

Permalink
fix some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
FriedrichFroebel committed Dec 30, 2024
1 parent dfbeb0f commit dcb6769
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/gourmand/gtk_extras/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ class ValidatingEntry(Gtk.VBox, GObject.GObject):
__gsignals__ = {"mnemonic-activate": "override"}

def __init__(self):
super().__init__(self)

# TODO: entry needn't be a property of self, but this requires
# reworking all derived classes
self.entry = Gtk.Entry()
Expand Down
5 changes: 3 additions & 2 deletions tests/test_clipboard_exporter.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
from collections import namedtuple # noqa: E402

import gi
import pytest

gi.require_version("Gtk", "3.0")
from collections import namedtuple # noqa: E402

gi.require_version("Gdk", "3.0")
from gi.repository import Gdk, Gtk # noqa: E402

from gourmand.exporters.clipboard_exporter import copy_to_clipboard # noqa: E402
Expand Down

0 comments on commit dcb6769

Please sign in to comment.