diff --git a/igniter/install_dialog.py b/igniter/install_dialog.py index 762e1c2fa1..9bcea5f215 100644 --- a/igniter/install_dialog.py +++ b/igniter/install_dialog.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """Show dialog for choosing central pype repository.""" -import sys import os +import sys from Qt import QtCore, QtGui, QtWidgets from Qt.QtGui import QValidator @@ -558,7 +558,7 @@ class CollapsibleWidget(QtWidgets.QWidget): self._toggleButton.toggled.connect(self._toggle_action) - def _toggle_action(self, collapsed:bool): + def _toggle_action(self, collapsed: bool): arrow = QtCore.Qt.ArrowType.DownArrow if collapsed else QtCore.Qt.ArrowType.RightArrow # noqa: E501 direction = QtCore.QAbstractAnimation.Forward if collapsed else QtCore.QAbstractAnimation.Backward # noqa: E501 self._toggleButton.setArrowType(arrow) diff --git a/pype/lib/execute.py b/pype/lib/execute.py index a06a404b42..6e744d5745 100644 --- a/pype/lib/execute.py +++ b/pype/lib/execute.py @@ -1,10 +1,9 @@ -import subprocess -import os import logging +import os +import subprocess from .log import PypeLogger as Logger - log = logging.getLogger(__name__) @@ -106,4 +105,4 @@ def _subprocess(*args, **kwargs): raise ValueError( "\"{}\" was not successful:\nOutput: {}\nError: {}".format( args, output, error)) - return output \ No newline at end of file + return output