Sun, 27 Jan 2019 19:58:14 +0100
Fixed some code style issues.
--- a/CondaInterface/CondaExecDialog.py Sun Jan 27 19:52:37 2019 +0100 +++ b/CondaInterface/CondaExecDialog.py Sun Jan 27 19:58:14 2019 +0100 @@ -27,12 +27,17 @@ class CondaExecDialog(QDialog, Ui_CondaExecDialog): """ - Class documentation goes here. + Class implementing a dialog to show the output of a conda execution. """ def __init__(self, configuration, venvManager, parent=None): """ Constructor + @param configuration dictionary containing the configuration parameters + as returned by the command configuration dialog + @type dict + @param venvManager reference to the virtual environment manager + @type VirtualenvManager @param parent reference to the parent widget @type QWidget """
--- a/Preferences/ConfigurationPages/CondaPage.py Sun Jan 27 19:52:37 2019 +0100 +++ b/Preferences/ConfigurationPages/CondaPage.py Sun Jan 27 19:58:14 2019 +0100 @@ -24,9 +24,6 @@ def __init__(self): """ Constructor - - @param parent reference to the parent widget - @type QWidget """ super(CondaPage, self).__init__() self.setupUi(self)
--- a/VirtualEnv/VirtualenvConfigurationDialog.py Sun Jan 27 19:52:37 2019 +0100 +++ b/VirtualEnv/VirtualenvConfigurationDialog.py Sun Jan 27 19:58:14 2019 +0100 @@ -502,8 +502,8 @@ open the target directory after creation, 'createLog' containing a flag to write a log file, 'createScript' containing a flag to write a script, 'targetDirectory' containing the target directory and - 'pythonExe' containing the Python interpreter to be used. The conda - specific keys are + 'pythonExe' containing the Python interpreter to be used. There are + no conda specific keys. @rtype dict """ # TODO: add the conda keys to the above description @@ -520,10 +520,10 @@ else: resultDict.update({ "envType": ("pyvenv" if self.pyvenvButton.isChecked() else - "virtualenv"), + "virtualenv"), "openTarget": self.openCheckBox.isChecked(), "createLog": self.logCheckBox.isChecked(), - "createScript":self.scriptCheckBox.isChecked(), + "createScript": self.scriptCheckBox.isChecked(), "targetDirectory": self.__generateTargetDir(), "pythonExe": Utilities.toNativeSeparators( self.pythonExecPicker.text()),
--- a/VirtualEnv/VirtualenvExecDialog.py Sun Jan 27 19:52:37 2019 +0100 +++ b/VirtualEnv/VirtualenvExecDialog.py Sun Jan 27 19:58:14 2019 +0100 @@ -39,7 +39,7 @@ @param configuration dictionary containing the configuration parameters as returned by the command configuration dialog - @type dictResolver + @type dict @param venvManager reference to the virtual environment manager @type VirtualenvManager @param parent reference to the parent widget
--- a/VirtualEnv/VirtualenvNameDialog.py Sun Jan 27 19:52:37 2019 +0100 +++ b/VirtualEnv/VirtualenvNameDialog.py Sun Jan 27 19:58:14 2019 +0100 @@ -8,6 +8,8 @@ environment. """ +from __future__ import unicode_literals + from PyQt5.QtCore import pyqtSlot, Qt from PyQt5.QtWidgets import QDialog, QDialogButtonBox @@ -42,7 +44,7 @@ @pyqtSlot(str) def on_nameEdit_textChanged(self, txt): """ - Slot documentation goes here. + Private slot to handle a change of the environment name. @param txt contens of the name edit @type str