mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
hound fixes
This commit is contained in:
parent
79d4f9ce5c
commit
dd48ae63e4
2 changed files with 5 additions and 6 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
return output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue