Corrected some code style issues.

Sun, 03 Sep 2017 18:37:52 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 03 Sep 2017 18:37:52 +0200
changeset 5873
331a5ece2c32
parent 5872
c9a08656feac
child 5874
a28f7d2ff976

Corrected some code style issues.

E5XML/SpellCheckDictionariesReader.py file | annotate | diff | comparison | revisions
WebBrowser/SpellCheck/ManageDictionariesDialog.py file | annotate | diff | comparison | revisions
eric6.e4p file | annotate | diff | comparison | revisions
--- a/E5XML/SpellCheckDictionariesReader.py	Sun Sep 03 18:20:29 2017 +0200
+++ b/E5XML/SpellCheckDictionariesReader.py	Sun Sep 03 18:37:52 2017 +0200
@@ -19,7 +19,7 @@
     """
     Class to read the web browser spell check dictionaries list file.
     """
-    supportedVersions = ["1.0",]
+    supportedVersions = ["1.0", ]
     
     def __init__(self, data, entryCallback):
         """
--- a/WebBrowser/SpellCheck/ManageDictionariesDialog.py	Sun Sep 03 18:20:29 2017 +0200
+++ b/WebBrowser/SpellCheck/ManageDictionariesDialog.py	Sun Sep 03 18:37:52 2017 +0200
@@ -148,7 +148,7 @@
             len([itm
                  for itm in self.dictionariesList.selectedItems()
                  if itm.checkState() == Qt.Checked
-            ])
+                 ])
         )
     
     @pyqtSlot(bool)
@@ -329,12 +329,12 @@
         location.
         """
         if self.locationComboBox.currentText():
-            installedLocales = set([
+            installedLocales = {
                 os.path.splitext(os.path.basename(dic))[0]
                 for dic in glob.glob(
                     os.path.join(self.locationComboBox.currentText(), "*.bdic")
                 )
-            ])
+            }
             
             for row in range(self.dictionariesList.count()):
                 itm = self.dictionariesList.item(row)
--- a/eric6.e4p	Sun Sep 03 18:20:29 2017 +0200
+++ b/eric6.e4p	Sun Sep 03 18:37:52 2017 +0200
@@ -2798,7 +2798,7 @@
               <string>ExcludeFiles</string>
             </key>
             <value>
-              <string>*/ThirdParty/*, */coverage/*, Ui_*.py</string>
+              <string>*/ThirdParty/*, */coverage/*, Ui_*.py, *_rc.py</string>
             </value>
           </dict>
         </value>

eric ide

mercurial