Sat, 29 Apr 2023 11:42:06 +0200
Corrected some code formatting issues.
--- a/src/eric7/EricWidgets/EricApplication.py Sat Apr 29 11:35:32 2023 +0200 +++ b/src/eric7/EricWidgets/EricApplication.py Sat Apr 29 11:42:06 2023 +0200 @@ -286,8 +286,8 @@ # backward compatibility for Qt < 6.5.0 or changed by user palette = self.palette() return ( - palette.color(QPalette.ColorRole.WindowText).lightness() > - palette.color(QPalette.ColorRole.Window).lightness() + palette.color(QPalette.ColorRole.WindowText).lightness() + > palette.color(QPalette.ColorRole.Window).lightness() )
--- a/src/eric7/Preferences/ConfigurationPages/WebBrowserSpellCheckingPage.py Sat Apr 29 11:35:32 2023 +0200 +++ b/src/eric7/Preferences/ConfigurationPages/WebBrowserSpellCheckingPage.py Sat Apr 29 11:42:06 2023 +0200 @@ -188,7 +188,8 @@ dlg = ManageDictionariesDialog( self.__writeableDirectories, enforceUnencryptedDownloads=self.unencryptedCheckBox.isChecked(), - parent=self) + parent=self, + ) dlg.exec() self.__populateDictionariesList()
--- a/src/eric7/QScintilla/TypingCompleters/CompleterPython.py Sat Apr 29 11:35:32 2023 +0200 +++ b/src/eric7/QScintilla/TypingCompleters/CompleterPython.py Sat Apr 29 11:42:06 2023 +0200 @@ -116,12 +116,8 @@ self.editor.insert("self") self.editor.setCursorPosition(line, col + 4) if self.__insertClosingBrace: - if ( - self.__defRX.fullmatch(txt) is not None - or ( - self.__classRX.fullmatch(txt) is not None - and txt.endswith("(") - ) + if self.__defRX.fullmatch(txt) is not None or ( + self.__classRX.fullmatch(txt) is not None and txt.endswith("(") ): self.editor.insert("):") else:
--- a/src/eric7/WebBrowser/SpellCheck/ManageDictionariesDialog.py Sat Apr 29 11:35:32 2023 +0200 +++ b/src/eric7/WebBrowser/SpellCheck/ManageDictionariesDialog.py Sat Apr 29 11:42:06 2023 +0200 @@ -186,9 +186,8 @@ self.downloadProgress.setValue(0) url = self.dictionariesUrlEdit.text() - if ( - self.__enforceUnencryptedDownloads - or Preferences.getWebBrowser("ForceHttpDictionaryDownload") + if self.__enforceUnencryptedDownloads or Preferences.getWebBrowser( + "ForceHttpDictionaryDownload" ): url = url.replace("https://", "http://") @@ -386,9 +385,8 @@ if self.__online: if self.__dictionariesToDownload: url = self.__dictionariesToDownload.pop(0) - if ( - self.__enforceUnencryptedDownloads - or Preferences.getWebBrowser("ForceHttpDictionaryDownload") + if self.__enforceUnencryptedDownloads or Preferences.getWebBrowser( + "ForceHttpDictionaryDownload" ): url = url.replace("https://", "http://") self.statusLabel.setText(url)