src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py

branch
eric7
changeset 10690
fab36645aa7d
parent 10621
f5631f40c4d9
child 10704
27d21e5163b8
child 10753
031cfa81992a
equal deleted inserted replaced
10689:3ede487187f2 10690:fab36645aa7d
1542 selection dialog. 1542 selection dialog.
1543 """ 1543 """
1544 self.__selectCodes(self.noFixIssuesEdit, [], True) 1544 self.__selectCodes(self.noFixIssuesEdit, [], True)
1545 1545
1546 @pyqtSlot(QTreeWidgetItem, int) 1546 @pyqtSlot(QTreeWidgetItem, int)
1547 def on_resultList_itemActivated(self, item, column): 1547 def on_resultList_itemActivated(self, item, _column):
1548 """ 1548 """
1549 Private slot to handle the activation of an item. 1549 Private slot to handle the activation of an item.
1550 1550
1551 @param item reference to the activated item 1551 @param item reference to the activated item
1552 @type QTreeWidgetItem 1552 @type QTreeWidgetItem
1553 @param column column the item was activated in 1553 @param _column column the item was activated in (unused)
1554 @type int 1554 @type int
1555 """ 1555 """
1556 if ( 1556 if (
1557 self.results != CodeStyleCheckerDialog.hasResults 1557 self.results != CodeStyleCheckerDialog.hasResults
1558 or item.data(0, self.filenameRole) is None 1558 or item.data(0, self.filenameRole) is None
2588 ) 2588 )
2589 2589
2590 # Update UI with default values 2590 # Update UI with default values
2591 self.on_loadDefaultButton_clicked() 2591 self.on_loadDefaultButton_clicked()
2592 2592
2593 def closeEvent(self, evt): 2593 def closeEvent(self, _evt):
2594 """ 2594 """
2595 Protected method to handle a close event. 2595 Protected method to handle a close event.
2596 2596
2597 @param evt reference to the close event 2597 @param _evt reference to the close event (unused)
2598 @type QCloseEvent 2598 @type QCloseEvent
2599 """ 2599 """
2600 self.on_cancelButton_clicked() 2600 self.on_cancelButton_clicked()
2601 2601
2602 @pyqtSlot() 2602 @pyqtSlot()

eric ide

mercurial