few hound fixes

This commit is contained in:
iLLiCiTiT 2021-09-02 17:57:16 +02:00
parent 4c7eca92be
commit 6ed50af935
4 changed files with 17 additions and 3 deletions

View file

@ -27,3 +27,15 @@ def install():
pyblish.api.register_host("testhost")
pyblish.api.register_plugin_path(PUBLISH_PATH)
avalon.api.register_plugin_path(BaseCreator, CREATE_PATH)
__all__ = (
"ls",
"list_instances",
"update_instances",
"remove_instances",
"get_context_data",
"update_context_data",
"install"
)

View file

@ -136,9 +136,13 @@ class PublishReport:
self._stored_plugins.append(plugin)
label = None
if hasattr(plugin, "label"):
label = plugin.label
self._current_plugin_data = {
"name": plugin.__name__,
"label": getattr(plugin, "label", None),
"label": label,
"order": plugin.order,
"instances_data": [],
"skipped": False,

View file

@ -293,7 +293,6 @@ class ValidationsWidget(QtWidgets.QWidget):
self._previous_select = None
def clear(self):
_old_title_widget = self._title_widgets
self._title_widgets = {}
self._error_info = {}
self._previous_select = None

View file

@ -1,4 +1,3 @@
import os
import copy
import collections
from Qt import QtWidgets, QtCore, QtGui