mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
linting fixes
This commit is contained in:
parent
36aae5ac70
commit
70f3c05d07
5 changed files with 6 additions and 9 deletions
|
|
@ -243,13 +243,12 @@ class IWorkfileHost:
|
|||
|
||||
Args:
|
||||
filepath (str): Path to workfile.
|
||||
folder_id (str): Folder id.
|
||||
task_id (str): Task id.
|
||||
folder_entity (dict[str, Any]): Folder id.
|
||||
task_entity (dict[str, Any]): Task id.
|
||||
|
||||
"""
|
||||
self.open_workfile(filepath)
|
||||
|
||||
|
||||
def list_workfiles(
|
||||
self,
|
||||
project_name: str,
|
||||
|
|
|
|||
|
|
@ -564,7 +564,6 @@ def _save_workfile(
|
|||
current_folder_path = context["folder_path"]
|
||||
current_task_name = context["task_name"]
|
||||
|
||||
folder_id = folder_entity["id"]
|
||||
task_name = task_entity["name"]
|
||||
task_type = task_entity["taskType"]
|
||||
task_id = task_entity["id"]
|
||||
|
|
@ -764,4 +763,4 @@ def _create_workfile_info_entity(
|
|||
project_name, "workfile", workfile_info
|
||||
)
|
||||
session.commit()
|
||||
return workfile_info
|
||||
return workfile_info
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
import os
|
||||
import shutil
|
||||
from typing import Optional
|
||||
|
||||
import ayon_api
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ import copy
|
|||
import uuid
|
||||
import platform
|
||||
import typing
|
||||
import shutil
|
||||
from typing import Optional, Any
|
||||
|
||||
import ayon_api
|
||||
|
|
|
|||
|
|
@ -48,7 +48,9 @@ class SidePanelWidget(QtWidgets.QWidget):
|
|||
description_widget = QtWidgets.QWidget(self)
|
||||
description_label = QtWidgets.QLabel("Artist note", description_widget)
|
||||
description_input = QtWidgets.QPlainTextEdit(description_widget)
|
||||
btn_description_save = QtWidgets.QPushButton("Save note", description_widget)
|
||||
btn_description_save = QtWidgets.QPushButton(
|
||||
"Save note", description_widget
|
||||
)
|
||||
|
||||
description_layout = QtWidgets.QVBoxLayout(description_widget)
|
||||
description_layout.setContentsMargins(0, 0, 0, 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue