src/eric7/Preferences/ConfigurationPages/CondaPage.py

branch
eric7
changeset 9221
bf71ee032bb4
parent 9209
b99e7fd55fd3
child 9413
80c06d472826
--- a/src/eric7/Preferences/ConfigurationPages/CondaPage.py	Wed Jul 13 11:16:20 2022 +0200
+++ b/src/eric7/Preferences/ConfigurationPages/CondaPage.py	Wed Jul 13 14:55:47 2022 +0200
@@ -19,6 +19,7 @@
     """
     Class implementing the conda configuration page.
     """
+
     def __init__(self):
         """
         Constructor
@@ -26,16 +27,18 @@
         super().__init__()
         self.setupUi(self)
         self.setObjectName("CondaPage")
-        
+
         self.condaExePicker.setMode(EricPathPickerModes.OPEN_FILE_MODE)
-        self.condaExePicker.setToolTip(self.tr(
-            "Press to select the conda executable via a file selection"
-            " dialog."))
-        
+        self.condaExePicker.setToolTip(
+            self.tr(
+                "Press to select the conda executable via a file selection" " dialog."
+            )
+        )
+
         # set initial values
         self.__condaExecutable = Preferences.getConda("CondaExecutable")
         self.condaExePicker.setText(self.__condaExecutable)
-        
+
     def save(self):
         """
         Public slot to save the conda configuration.
@@ -43,15 +46,16 @@
         condaExecutable = self.condaExePicker.text()
         if condaExecutable != self.__condaExecutable:
             Preferences.setConda("CondaExecutable", condaExecutable)
-            
+
             import CondaInterface
+
             CondaInterface.resetInterface()
-    
+
 
 def create(dlg):
     """
     Module function to create the configuration page.
-    
+
     @param dlg reference to the configuration dialog
     @return reference to the instantiated page (ConfigurationPageBase)
     """

eric ide

mercurial