--- a/src/eric7/CodeFormatting/IsortConfigurationDialog.py Mon Mar 04 11:26:52 2024 +0100 +++ b/src/eric7/CodeFormatting/IsortConfigurationDialog.py Mon Mar 04 11:42:39 2024 +0100 @@ -98,9 +98,11 @@ for pyTarget in VALID_PY_TARGETS: if pyTarget.startswith("3"): self.pythonComboBox.addItem( - self.tr("Python {0}").format(pyTarget) - if len(pyTarget) == 1 - else self.tr("Python {0}.{1}").format(pyTarget[0], pyTarget[1:]), + ( + self.tr("Python {0}").format(pyTarget) + if len(pyTarget) == 1 + else self.tr("Python {0}.{1}").format(pyTarget[0], pyTarget[1:]) + ), pyTarget, )