Sat, 04 Aug 2018 15:47:11 +0200
Fixed some code style issues.
--- a/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.RebaseExtension.HgRebaseDialog.html Sat Aug 04 15:39:15 2018 +0200 +++ b/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.RebaseExtension.HgRebaseDialog.html Sat Aug 04 15:47:11 2018 +0200 @@ -128,18 +128,21 @@ <p> Constructor </p><dl> -<dt><i>tagsList</i></dt> +<dt><i>tagsList</i> (list of str)</dt> <dd> -list of tags (list of strings) -</dd><dt><i>branchesList</i></dt> +list of tags +</dd><dt><i>branchesList</i> (list of str)</dt> +<dd> +list of branches +</dd><dt><i>bookmarksList</i> (list of str)</dt> <dd> -list of branches (list of strings) -</dd><dt><i>bookmarksList</i></dt> +list of bookmarks +</dd><dt><i>version</i> (tuple of int)</dt> <dd> -list of bookmarks (list of strings) -</dd><dt><i>parent</i></dt> +tuple giving the Mercurial version +</dd><dt><i>parent</i> (QWidget)</dt> <dd> -reference to the parent widget (QWidget) +reference to the parent widget </dd> </dl><a NAME="HgRebaseDialog.__getRevision" ID="HgRebaseDialog.__getRevision"></a> <h4>HgRebaseDialog.__getRevision</h4>
--- a/Documentation/Source/eric6.Project.IdlCompilerOptionsDialog.html Sat Aug 04 15:39:15 2018 +0200 +++ b/Documentation/Source/eric6.Project.IdlCompilerOptionsDialog.html Sat Aug 04 15:47:11 2018 +0200 @@ -153,9 +153,9 @@ </dd><dt><i>undefinedNames</i> (list of str)</dt> <dd> list of undefined names -</dd><dt><i>projectDirectory</i> (str)</dt> +</dd><dt><i>project</i> (Project)</dt> <dd> -directory name of the project +reference to the project object </dd><dt><i>parent</i> (QWidget)</dt> <dd> reference to the parent widget
--- a/Documentation/Source/eric6.WebBrowser.WebBrowserView.html Sat Aug 04 15:39:15 2018 +0200 +++ b/Documentation/Source/eric6.WebBrowser.WebBrowserView.html Sat Aug 04 15:47:11 2018 +0200 @@ -833,7 +833,8 @@ <h4>WebBrowserView.__registerProtocolHandlerRequested</h4> <b>__registerProtocolHandlerRequested</b>(<i>request</i>) <p> - Private slot to handle requests for registration of a protocol handler. + Private slot to handle requests for registration of a protocol + handler. </p><dl> <dt><i>request</i> (QWebEngineRegisterProtocolHandlerRequest)</dt> <dd>
--- a/E5Gui/E5PathPickerDialog.py Sat Aug 04 15:39:15 2018 +0200 +++ b/E5Gui/E5PathPickerDialog.py Sat Aug 04 15:47:11 2018 +0200 @@ -13,6 +13,7 @@ from .E5PathPicker import E5PathPicker, E5PathPickerModes + class E5PathPickerDialog(QDialog): """ Class implementing a dialog to enter a file system path using a file
--- a/Plugins/VcsPlugins/vcsMercurial/RebaseExtension/HgRebaseDialog.py Sat Aug 04 15:39:15 2018 +0200 +++ b/Plugins/VcsPlugins/vcsMercurial/RebaseExtension/HgRebaseDialog.py Sat Aug 04 15:47:11 2018 +0200 @@ -24,10 +24,16 @@ """ Constructor - @param tagsList list of tags (list of strings) - @param branchesList list of branches (list of strings) - @param bookmarksList list of bookmarks (list of strings) - @param parent reference to the parent widget (QWidget) + @param tagsList list of tags + @type list of str + @param branchesList list of branches + @type list of str + @param bookmarksList list of bookmarks + @type list of str + @param version tuple giving the Mercurial version + @type tuple of int + @param parent reference to the parent widget + @type QWidget """ super(HgRebaseDialog, self).__init__(parent) self.setupUi(self)
--- a/Plugins/VcsPlugins/vcsMercurial/hg.py Sat Aug 04 15:39:15 2018 +0200 +++ b/Plugins/VcsPlugins/vcsMercurial/hg.py Sat Aug 04 15:47:11 2018 +0200 @@ -2910,7 +2910,7 @@ self.version >= (4, 7, 0)) if dlg.exec_() == QDialog.Accepted: filePattern, revisions, bookmark, switchParent, allText, noDates, \ - git = dlg.getParameters() + git = dlg.getParameters() args = self.initCommand("export") args.append("--output") @@ -2925,7 +2925,7 @@ if git: args.append("--git") if bookmark: - args.append ("--bookmark") + args.append("--bookmark") args.append(bookmark) else: for rev in revisions:
--- a/Project/IdlCompilerDefineNameDialog.py Sat Aug 04 15:39:15 2018 +0200 +++ b/Project/IdlCompilerDefineNameDialog.py Sat Aug 04 15:47:11 2018 +0200 @@ -8,6 +8,8 @@ for the IDL compiler. """ +from __future__ import unicode_literals + from PyQt5.QtCore import pyqtSlot from PyQt5.QtWidgets import QDialog, QDialogButtonBox
--- a/Project/IdlCompilerOptionsDialog.py Sat Aug 04 15:39:15 2018 +0200 +++ b/Project/IdlCompilerOptionsDialog.py Sat Aug 04 15:47:11 2018 +0200 @@ -7,6 +7,8 @@ Module implementing a dialog to enter some IDL compiler options. """ +from __future__ import unicode_literals + from PyQt5.QtCore import pyqtSlot, Qt from PyQt5.QtWidgets import QDialog, QTreeWidgetItem, QInputDialog @@ -36,8 +38,8 @@ @type list of str @param undefinedNames list of undefined names @type list of str - @param projectDirectory directory name of the project - @type str + @param project reference to the project object + @type Project @param parent reference to the parent widget @type QWidget """
--- a/WebBrowser/WebBrowserView.py Sat Aug 04 15:39:15 2018 +0200 +++ b/WebBrowser/WebBrowserView.py Sat Aug 04 15:47:11 2018 +0200 @@ -2258,7 +2258,8 @@ @pyqtSlot("QWebEngineRegisterProtocolHandlerRequest") def __registerProtocolHandlerRequested(self, request): """ - Private slot to handle requests for registration of a protocol handler. + Private slot to handle requests for registration of a protocol + handler. @param request reference to the protocol handler request object @type QWebEngineRegisterProtocolHandlerRequest @@ -2277,8 +2278,8 @@ ok = E5MessageBox.yesNo( self, self.tr("Protocol Handler Request"), - self.tr("""<p> Allow the website at <b>{0}</b> to open all""" - """ <b>{1}</b> links?</p>""") + self.tr("""<p> Allow the website at <b>{0}</b> to open""" + """ all <b>{1}</b> links?</p>""") .format(request.origin().host(), request.scheme()) )