Pep8 Errors

This commit is contained in:
Ian Knight 2016-05-20 23:07:23 +09:30
parent 2c1c7810b9
commit e09e867ad1
3 changed files with 4 additions and 5 deletions

View File

@ -91,8 +91,8 @@ class AdvancedTab(SettingsTab):
self.slide_max_height_combo_box.addItem('', userData=0) self.slide_max_height_combo_box.addItem('', userData=0)
self.slide_max_height_combo_box.addItem('', userData=-4) self.slide_max_height_combo_box.addItem('', userData=-4)
# Generate numeric values for combo box dynamically # Generate numeric values for combo box dynamically
for px in range(60,801,5): for px in range(60, 801, 5):
self.slide_max_height_combo_box.addItem(str(px)+'px', userData=px) self.slide_max_height_combo_box.addItem(str(px) + 'px', userData=px)
self.slide_max_height_combo_box.setObjectName('slide_max_height_combo_box') self.slide_max_height_combo_box.setObjectName('slide_max_height_combo_box')
self.ui_layout.addRow(self.slide_max_height_label, self.slide_max_height_combo_box) self.ui_layout.addRow(self.slide_max_height_label, self.slide_max_height_combo_box)
self.autoscroll_label = QtWidgets.QLabel(self.ui_group_box) self.autoscroll_label = QtWidgets.QLabel(self.ui_group_box)

View File

@ -432,7 +432,6 @@ class TestLib(TestCase):
expected_size_1 = QtCore.QSize(88, 88) expected_size_1 = QtCore.QSize(88, 88)
expected_size_2 = QtCore.QSize(100, 100) expected_size_2 = QtCore.QSize(100, 100)
# Remove the thumb so that the test actually tests if the thumb will be created. Maybe it was not deleted in the # Remove the thumb so that the test actually tests if the thumb will be created. Maybe it was not deleted in the
# last test. # last test.
try: try: