Fixed a few code style issues.

Sat, 05 Dec 2015 13:02:26 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 05 Dec 2015 13:02:26 +0100
changeset 4601
0017e7cb67ae
parent 4600
fc4f447ab637
child 4602
48cc4820e2c2

Fixed a few code style issues.

E5Gui/E5PathPicker.py file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsMercurial/HgExportDialog.py file | annotate | diff | comparison | revisions
Preferences/ConfigurationPages/HelpDocumentationPage.py file | annotate | diff | comparison | revisions
Project/AddFileDialog.py file | annotate | diff | comparison | revisions
Project/DebuggerPropertiesDialog.py file | annotate | diff | comparison | revisions
Project/PropertiesDialog.py file | annotate | diff | comparison | revisions
--- a/E5Gui/E5PathPicker.py	Sat Dec 05 12:23:39 2015 +0100
+++ b/E5Gui/E5PathPicker.py	Sat Dec 05 13:02:26 2015 +0100
@@ -17,7 +17,7 @@
     from ThirdParty.enum import Enum
 
 from PyQt5.QtCore import pyqtSignal, Qt, QFileInfo
-from PyQt5.QtWidgets import QWidget, QHBoxLayout, QToolButton,  QSizePolicy
+from PyQt5.QtWidgets import QWidget, QHBoxLayout, QToolButton, QSizePolicy
 
 from . import E5FileDialog
 from .E5LineEdit import E5ClearableLineEdit
@@ -42,6 +42,7 @@
 
 # TODO: Refactor the classes using a base class with common functions
 
+
 class E5PathPicker(QWidget):
     """
     Class implementing a path picker widget consisting of a line edit and a
@@ -343,7 +344,7 @@
         """
         Public method to set the name filters for the completer.
         
-        @param filter list of file name filters
+        @param filters list of file name filters
         @type list of str
         """
         self.__editor.completer().model().setNameFilters(filters)
--- a/Plugins/VcsPlugins/vcsMercurial/HgExportDialog.py	Sat Dec 05 12:23:39 2015 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgExportDialog.py	Sat Dec 05 13:02:26 2015 +0100
@@ -19,7 +19,6 @@
 from .Ui_HgExportDialog import Ui_HgExportDialog
 
 
-
 class HgExportDialog(QDialog, Ui_HgExportDialog):
     """
     Class documentation goes here.
--- a/Preferences/ConfigurationPages/HelpDocumentationPage.py	Sat Dec 05 12:23:39 2015 +0100
+++ b/Preferences/ConfigurationPages/HelpDocumentationPage.py	Sat Dec 05 13:02:26 2015 +0100
@@ -32,14 +32,14 @@
         
         self.python2DocDirPicker.setMode(E5PathPickerModes.OpenFileMode)
         self.python2DocDirPicker.setFilters(self.tr(
-                "HTML Files (*.html *.htm);;"
-                "Compressed Help Files (*.chm);;"
-                "All Files (*)"))
+            "HTML Files (*.html *.htm);;"
+            "Compressed Help Files (*.chm);;"
+            "All Files (*)"))
         self.pythonDocDirPicker.setMode(E5PathPickerModes.OpenFileMode)
         self.pythonDocDirPicker.setFilters(self.tr(
-                "HTML Files (*.html *.htm);;"
-                "Compressed Help Files (*.chm);;"
-                "All Files (*)"))
+            "HTML Files (*.html *.htm);;"
+            "Compressed Help Files (*.chm);;"
+            "All Files (*)"))
         self.qt4DocDirPicker.setMode(E5PathPickerModes.OpenFileMode)
         self.qt4DocDirPicker.setFilters(self.tr(
             "HTML Files (*.html *.htm);;All Files (*)"))
--- a/Project/AddFileDialog.py	Sat Dec 05 12:23:39 2015 +0100
+++ b/Project/AddFileDialog.py	Sat Dec 05 13:02:26 2015 +0100
@@ -60,7 +60,7 @@
     def on_sourceFilesPicker_aboutToShowPathPickerDialog(self):
         """
         Private slot to perform actions before the source files selection
-        dialog is shown. 
+        dialog is shown.
         """
         path = self.targetDirPicker.text()
         if not path:
--- a/Project/DebuggerPropertiesDialog.py	Sat Dec 05 12:23:39 2015 +0100
+++ b/Project/DebuggerPropertiesDialog.py	Sat Dec 05 13:02:26 2015 +0100
@@ -110,7 +110,7 @@
     def on_debugClientPicker_aboutToShowPathPickerDialog(self):
         """
         Private slot to perform actions before the debug client selection
-        dialog is shown. 
+        dialog is shown.
         """
         filters = self.project.dbgFilters[
             self.project.pdata["PROGLANGUAGE"][0]]
--- a/Project/PropertiesDialog.py	Sat Dec 05 12:23:39 2015 +0100
+++ b/Project/PropertiesDialog.py	Sat Dec 05 13:02:26 2015 +0100
@@ -228,7 +228,7 @@
     def on_mainscriptPicker_aboutToShowPathPickerDialog(self):
         """
         Private slot to perform actions before the main script selection dialog
-        is shown. 
+        is shown.
         """
         path = self.dirPicker.text()
         if not path:

eric ide

mercurial