mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
few hound fixes
This commit is contained in:
parent
4c7eca92be
commit
6ed50af935
4 changed files with 17 additions and 3 deletions
|
|
@ -27,3 +27,15 @@ def install():
|
||||||
pyblish.api.register_host("testhost")
|
pyblish.api.register_host("testhost")
|
||||||
pyblish.api.register_plugin_path(PUBLISH_PATH)
|
pyblish.api.register_plugin_path(PUBLISH_PATH)
|
||||||
avalon.api.register_plugin_path(BaseCreator, CREATE_PATH)
|
avalon.api.register_plugin_path(BaseCreator, CREATE_PATH)
|
||||||
|
|
||||||
|
|
||||||
|
__all__ = (
|
||||||
|
"ls",
|
||||||
|
"list_instances",
|
||||||
|
"update_instances",
|
||||||
|
"remove_instances",
|
||||||
|
"get_context_data",
|
||||||
|
"update_context_data",
|
||||||
|
|
||||||
|
"install"
|
||||||
|
)
|
||||||
|
|
|
||||||
|
|
@ -136,9 +136,13 @@ class PublishReport:
|
||||||
|
|
||||||
self._stored_plugins.append(plugin)
|
self._stored_plugins.append(plugin)
|
||||||
|
|
||||||
|
label = None
|
||||||
|
if hasattr(plugin, "label"):
|
||||||
|
label = plugin.label
|
||||||
|
|
||||||
self._current_plugin_data = {
|
self._current_plugin_data = {
|
||||||
"name": plugin.__name__,
|
"name": plugin.__name__,
|
||||||
"label": getattr(plugin, "label", None),
|
"label": label,
|
||||||
"order": plugin.order,
|
"order": plugin.order,
|
||||||
"instances_data": [],
|
"instances_data": [],
|
||||||
"skipped": False,
|
"skipped": False,
|
||||||
|
|
|
||||||
|
|
@ -293,7 +293,6 @@ class ValidationsWidget(QtWidgets.QWidget):
|
||||||
self._previous_select = None
|
self._previous_select = None
|
||||||
|
|
||||||
def clear(self):
|
def clear(self):
|
||||||
_old_title_widget = self._title_widgets
|
|
||||||
self._title_widgets = {}
|
self._title_widgets = {}
|
||||||
self._error_info = {}
|
self._error_info = {}
|
||||||
self._previous_select = None
|
self._previous_select = None
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
import os
|
|
||||||
import copy
|
import copy
|
||||||
import collections
|
import collections
|
||||||
from Qt import QtWidgets, QtCore, QtGui
|
from Qt import QtWidgets, QtCore, QtGui
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue