Plugins/CheckerPlugins/Pep8/Pep8Dialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2404
cba0ff902c2b
child 2607
e5115553185a
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a dialog to show the results of the PEP 8 check. 7 Module implementing a dialog to show the results of the PEP 8 check.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 import os 12 import os
11 import fnmatch 13 import fnmatch
12 14
13 from PyQt4.QtCore import pyqtSlot, Qt 15 from PyQt4.QtCore import pyqtSlot, Qt
40 """ 42 """
41 Constructor 43 Constructor
42 44
43 @param parent reference to the parent widget (QWidget) 45 @param parent reference to the parent widget (QWidget)
44 """ 46 """
45 super().__init__(parent) 47 super(Pep8Dialog, self).__init__(parent)
46 self.setupUi(self) 48 self.setupUi(self)
47 49
48 self.statisticsButton = self.buttonBox.addButton( 50 self.statisticsButton = self.buttonBox.addButton(
49 self.trUtf8("Statistics..."), QDialogButtonBox.ActionRole) 51 self.trUtf8("Statistics..."), QDialogButtonBox.ActionRole)
50 self.statisticsButton.setToolTip( 52 self.statisticsButton.setToolTip(

eric ide

mercurial