964 Preferences.Prefs.settings.value("PEP8/ShowIgnored", False))) |
964 Preferences.Prefs.settings.value("PEP8/ShowIgnored", False))) |
965 self.lineLengthSpinBox.setValue(int(Preferences.Prefs.settings.value( |
965 self.lineLengthSpinBox.setValue(int(Preferences.Prefs.settings.value( |
966 "PEP8/MaxLineLength", pycodestyle.MAX_LINE_LENGTH))) |
966 "PEP8/MaxLineLength", pycodestyle.MAX_LINE_LENGTH))) |
967 self.blankBeforeTopLevelSpinBox.setValue( |
967 self.blankBeforeTopLevelSpinBox.setValue( |
968 int(Preferences.Prefs.settings.value( |
968 int(Preferences.Prefs.settings.value( |
969 "PEP8/BlankLinesBeforeTopLevel", 2))) |
969 "PEP8/BlankLinesBeforeTopLevel", 2))) |
970 self.blankBeforeMethodSpinBox.setValue( |
970 self.blankBeforeMethodSpinBox.setValue( |
971 int(Preferences.Prefs.settings.value( |
971 int(Preferences.Prefs.settings.value( |
972 "PEP8/BlankLinesBeforeMethod", 1))) |
972 "PEP8/BlankLinesBeforeMethod", 1))) |
973 self.hangClosingCheckBox.setChecked(Preferences.toBool( |
973 self.hangClosingCheckBox.setChecked(Preferences.toBool( |
974 Preferences.Prefs.settings.value("PEP8/HangClosing", False))) |
974 Preferences.Prefs.settings.value("PEP8/HangClosing", False))) |
975 self.docTypeComboBox.setCurrentIndex(self.docTypeComboBox.findData( |
975 self.docTypeComboBox.setCurrentIndex(self.docTypeComboBox.findData( |
976 Preferences.Prefs.settings.value("PEP8/DocstringType", "pep257"))) |
976 Preferences.Prefs.settings.value("PEP8/DocstringType", "pep257"))) |
977 self.complexitySpinBox.setValue(int(Preferences.Prefs.settings.value( |
977 self.complexitySpinBox.setValue(int(Preferences.Prefs.settings.value( |