ProjectFlask/FlaskVirtualenvConfigurationDialog.py

branch
eric7
changeset 84
f39230b845e4
parent 83
d8788dc3442f
child 87
075f7667f69d
--- a/ProjectFlask/FlaskVirtualenvConfigurationDialog.py	Sat Dec 23 15:48:52 2023 +0100
+++ b/ProjectFlask/FlaskVirtualenvConfigurationDialog.py	Sat Dec 23 17:08:59 2023 +0100
@@ -82,7 +82,7 @@
         )
 
     @pyqtSlot(str)
-    def on_nameEdit_textChanged(self, txt):
+    def on_nameEdit_textChanged(self, txt):  # noqa: U100
         """
         Private slot handling a change of the virtual environment name.
 
@@ -92,7 +92,7 @@
         self.__updateOK()
 
     @pyqtSlot(str)
-    def on_targetDirectoryPicker_textChanged(self, txt):
+    def on_targetDirectoryPicker_textChanged(self, txt):  # noqa: U100
         """
         Private slot handling a change of the target directory.
 
@@ -108,9 +108,7 @@
         @return target directory path
         @rtype str
         """
-        targetDirectory = toNativeSeparators(
-            self.targetDirectoryPicker.text()
-        )
+        targetDirectory = toNativeSeparators(self.targetDirectoryPicker.text())
         if not os.path.isabs(targetDirectory):
             targetDirectory = os.path.join(os.path.expanduser("~"), targetDirectory)
         return targetDirectory

eric ide

mercurial