Skip to content

Commit a7ff2f3

Browse files
committed
Add missing Slot definition and fix isort issue
1 parent 88624aa commit a7ff2f3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

preditor/gui/find_files.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import absolute_import, print_function
22

3-
from Qt.QtCore import Qt
3+
from Qt.QtCore import Qt, Slot
44
from Qt.QtGui import QIcon, QKeySequence
55
from Qt.QtWidgets import QApplication, QShortcut, QWidget
66

@@ -54,6 +54,7 @@ def activate(self):
5454
self.show()
5555
self.uiFindTXT.setFocus()
5656

57+
@Slot()
5758
def find(self):
5859
find_text = self.uiFindTXT.text()
5960
context = self.uiContextSPN.value()

tests/test_stream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import pytest
77
import six
88

9-
from preditor.stream import STDOUT, STDERR, Director, Manager, install_to_std
9+
from preditor.stream import STDERR, STDOUT, Director, Manager, install_to_std
1010

1111

1212
@pytest.fixture

0 commit comments

Comments
 (0)