Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Enhancement/fastapi #6280

Closed
wants to merge 845 commits into from
Closed

Conversation

BenSouchet
Copy link

Changelog Description

Paragraphs contain detailed information on the changes made to the product or service, providing an in-depth description of the updates and enhancements. They can be used to explain the reasoning behind the changes, or to highlight the importance of the new features. Paragraphs can often include links to further information or support documentation.

Additional info

Paragraphs of text giving context of additional technical information or code examples.

Testing notes:

  1. start with this step
  2. follow this step

BenSouchet and others added 30 commits March 25, 2024 15:18
…pdate-de-playblast_render_path--louverture-dune-task-sur-blender-2

Enhancement/358 bug non update de playblast render path  louverture dune task sur blender 2
…ues-en-mode-de-fusion-normal' of github.com:quadproduction/OpenPype into release/3.16.9-quad-1.9.3
…_from_project

Enhancement/copy settings from project
…-ftrack-cant-start-3169-quad192

Add Safety Check For Ftrack module
…nt-pouvoir-mettre-des-burnins-sur-les-publish-dimage-photoshop-ou-bien-layout-posing

375: enhancement: Mise en place de burn in sur les publish de layout …
…les-calques-en-mode-de-fusion-normal' of github.com:quadproduction/OpenPype into release/3.16.9-quad-1.9.3"

This reverts commit d1edcc6, reversing
changes made to 3566132.
…ement/271-enhancement-multi-format-publish-aftereffect
…ffect' of github.com:quadproduction/OpenPype into enhancement/271-enhancement-multi-format-publish-aftereffect
…ffect' of github.com:quadproduction/OpenPype into enhancement/271-enhancement-multi-format-publish-aftereffect

# Use the first image as a thumbnail if it's not already set.
if not instance.data.get("thumbnailSource") and output:
instance.data["thumbnailSource"] = os.path.join(staging_dir, output[0])
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (83 > 79 characters)


comp = stub.import_file(self.fname, stub.LOADED_ICON + comp_name,
import_options)
comp = stub.import_file(path_str, stub.LOADED_ICON + comp_name, import_options)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (91 > 79 characters)

is_psd = path.suffix == '.psd'

comp_name = get_unique_layer_name(
existing_layers, "{}_{}".format(context["asset"]["name"], name), is_psd=is_psd)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (91 > 79 characters)

project_name = context['project']['name']
import_options['fps'] = Anatomy(project_name)['attributes']['fps']
except KeyError:
self.log.warning(f"Can't retrieve fps information for project {project_name}. Frame rate will not be set at import.")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (133 > 79 characters)

self.log.warning(f"Can't retrieve fps information for asset {name}. Will try to load data from project.")
try:
project_name = context['project']['name']
import_options['fps'] = Anatomy(project_name)['attributes']['fps']
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (82 > 79 characters)

escaped_extension_id_str = extension_id.replace(".", "\.") # noqa
pattern_regex_extension_version = fr"{escaped_extension_id_str}\s+(?P<version>[\d.]+)"

match_extension = re.search(pattern_regex_extension_version, str(installed_extensions_info))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (104 > 79 characters)


# Get the installed version
escaped_extension_id_str = extension_id.replace(".", "\.") # noqa
pattern_regex_extension_version = fr"{escaped_extension_id_str}\s+(?P<version>[\d.]+)"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (98 > 79 characters)

for zxp_host_id in zxp_host_ids:
extension_id, extension_new_version = self.extract_zxp_info_from_manifest(openpype_version, zxp_host_id)
if not extension_id or not extension_new_version:
# ZXP extension seems invalid or doesn't exists for this software, skipping
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (91 > 79 characters)


zxp_hosts_to_update = []
for zxp_host_id in zxp_host_ids:
extension_id, extension_new_version = self.extract_zxp_info_from_manifest(openpype_version, zxp_host_id)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (116 > 79 characters)

cmd_arg_prefix = "--"

# Get installed extensions
completed_process = subprocess.run([str(path_prog), "{}list".format(cmd_arg_prefix), "all"],
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (100 > 79 characters)

Copy link

@hound hound bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some files could not be reviewed due to errors:

Traceback (most recent call last):
Traceback (most recent call last):
  File "/usr/local/bin/flake8", line 8, in 
    sys.exit(main())
  File "/usr/local/lib/python3.8/dist-packages/flake8/main/cli.py", line 18, in main
    app.run(argv)
  File "/usr/local/lib/python3.8/dist-packages/flake8/main/application.py", line 393, in run
    self._run(argv)
  File "/usr/local/lib/python3.8/dist-packages/flake8/main/application.py", line 381, in _run
    self.run_checks()
  File "/usr/local/lib/python3.8/dist-packages/flake8/main/application.py", line 300, in run_checks
    self.file_checker_manager.run()
  File "/usr/local/lib/python3.8/dist-packages/flake8/checker.py", line 331, in run
    self.run_serial()
  File "/usr/local/lib/python3.8/dist-packages/flake8/checker.py", line 315, in run_serial
    checker.run_checks()
  File "/usr/local/lib/python3.8/dist-packages/flake8/checker.py", line 598, in run_checks
    self.run_ast_checks()
  File "/usr/local/lib/python3.8/dist-packages/flake8/checker.py", line 502, in run_ast_checks
    for (line_number, offset, text, check) in runner:
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checker.py", line 56, in run
    parser.visit(self.tree)
  File "/usr/lib/python3.8/ast.py", line 371, in visit
    return visitor(node)
  File "/usr/lib/python3.8/ast.py", line 379, in generic_visit
    self.visit(item)
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checker.py", line 39, in visit_ClassDef
    self.capture_issues_visitor('ClassDef', node)
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checker.py", line 33, in capture_issues_visitor
    self.generic_visit(node)
  File "/usr/lib/python3.8/ast.py", line 381, in generic_visit
    self.visit(value)
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checker.py", line 36, in visit_Call
    self.capture_issues_visitor('Call', node)
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checker.py", line 30, in capture_issues_visitor
    issues = checker.run(node)
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checkers/render.py", line 22, in run
    if isinstance(arg, ast.Call) and arg.func.id == 'locals':
AttributeError: 'Attribute' object has no attribute 'id'

@@ -562,6 +564,11 @@ def _parse_placeholder_node_data(self, node):
nb_children = int(node_knobs["nb_children"].getValue())
placeholder_data["nb_children"] = nb_children

# TODO: Delete this once all the templates will used 'Create' instead of 'Creator' plugins
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (98 > 79 characters)

for key in self.get_placeholder_keys():
# Allow the transition between legacy Creator and New one
placeholder_keys = self.get_placeholder_keys()
# TODO: Delete this once all the templates will used 'Create' instead of 'Creator' plugins
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (98 > 79 characters)

# Force new context
os.environ["AVALON_PROJECT"] = context["project"]["name"]
os.environ["AVALON_ASSET"] = context["asset"]["name"]
os.environ["AVALON_TASK"] = context["representation"]["context"]["task"]["name"]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (88 > 79 characters)

load,
get_representation_context
)
from openpype.hosts.openrv.api.pipeline import imprint_container
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'openpype.hosts.openrv.api.pipeline.imprint_container' imported but unused

completed_process.stdout,
completed_process.stderr), True)

def get_zxp_extensions_to_update(self, openpype_version, system_settings, force=False) -> [ZXPExtensionData]:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (113 > 79 characters)

continue

if self._step_text_signal:
self._step_text_signal.emit("Install ZXP extension for <b>{}</b> ...".format(extension.host_id))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (112 > 79 characters)

if not fullpath_curr_zxp_extension.exists():
if self._log_signal:
self._log_signal.emit("Cannot find ZXP extension for {}, looked at: {}".format(
extension.host_id, str(fullpath_curr_zxp_extension)), True)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (83 > 79 characters)

"extension.zxp")
if not fullpath_curr_zxp_extension.exists():
if self._log_signal:
self._log_signal.emit("Cannot find ZXP extension for {}, looked at: {}".format(
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (99 > 79 characters)

"hosts",
extension.host_id,
"api",
"extension.zxp")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (80 > 79 characters)

# Install ZXP shipped in the current version folder
fullpath_curr_zxp_extension = version_path.joinpath("openpype",
"hosts",
extension.host_id,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (82 > 79 characters)

Copy link

@hound hound bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some files could not be reviewed due to errors:

Traceback (most recent call last):
Traceback (most recent call last):
  File "/usr/local/bin/flake8", line 8, in 
    sys.exit(main())
  File "/usr/local/lib/python3.8/dist-packages/flake8/main/cli.py", line 18, in main
    app.run(argv)
  File "/usr/local/lib/python3.8/dist-packages/flake8/main/application.py", line 393, in run
    self._run(argv)
  File "/usr/local/lib/python3.8/dist-packages/flake8/main/application.py", line 381, in _run
    self.run_checks()
  File "/usr/local/lib/python3.8/dist-packages/flake8/main/application.py", line 300, in run_checks
    self.file_checker_manager.run()
  File "/usr/local/lib/python3.8/dist-packages/flake8/checker.py", line 331, in run
    self.run_serial()
  File "/usr/local/lib/python3.8/dist-packages/flake8/checker.py", line 315, in run_serial
    checker.run_checks()
  File "/usr/local/lib/python3.8/dist-packages/flake8/checker.py", line 598, in run_checks
    self.run_ast_checks()
  File "/usr/local/lib/python3.8/dist-packages/flake8/checker.py", line 502, in run_ast_checks
    for (line_number, offset, text, check) in runner:
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checker.py", line 56, in run
    parser.visit(self.tree)
  File "/usr/lib/python3.8/ast.py", line 371, in visit
    return visitor(node)
  File "/usr/lib/python3.8/ast.py", line 379, in generic_visit
    self.visit(item)
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checker.py", line 39, in visit_ClassDef
    self.capture_issues_visitor('ClassDef', node)
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checker.py", line 33, in capture_issues_visitor
    self.generic_visit(node)
  File "/usr/lib/python3.8/ast.py", line 381, in generic_visit
    self.visit(value)
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checker.py", line 36, in visit_Call
    self.capture_issues_visitor('Call', node)
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checker.py", line 30, in capture_issues_visitor
    issues = checker.run(node)
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checkers/render.py", line 22, in run
    if isinstance(arg, ast.Call) and arg.func.id == 'locals':
AttributeError: 'Attribute' object has no attribute 'id'

@@ -562,6 +564,11 @@ def _parse_placeholder_node_data(self, node):
nb_children = int(node_knobs["nb_children"].getValue())
placeholder_data["nb_children"] = nb_children

# TODO: Delete this once all the templates will used 'Create' instead of 'Creator' plugins
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (98 > 79 characters)

for key in self.get_placeholder_keys():
# Allow the transition between legacy Creator and New one
placeholder_keys = self.get_placeholder_keys()
# TODO: Delete this once all the templates will used 'Create' instead of 'Creator' plugins
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (98 > 79 characters)

# Force new context
os.environ["AVALON_PROJECT"] = context["project"]["name"]
os.environ["AVALON_ASSET"] = context["asset"]["name"]
os.environ["AVALON_TASK"] = context["representation"]["context"]["task"]["name"]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (88 > 79 characters)

load,
get_representation_context
)
from openpype.hosts.openrv.api.pipeline import imprint_container
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'openpype.hosts.openrv.api.pipeline.imprint_container' imported but unused

completed_process.stdout,
completed_process.stderr), True)

def get_zxp_extensions_to_update(self, openpype_version, system_settings, force=False) -> [ZXPExtensionData]:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (113 > 79 characters)

continue

if self._step_text_signal:
self._step_text_signal.emit("Install ZXP extension for <b>{}</b> ...".format(extension.host_id))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (112 > 79 characters)

if not fullpath_curr_zxp_extension.exists():
if self._log_signal:
self._log_signal.emit("Cannot find ZXP extension for {}, looked at: {}".format(
extension.host_id, str(fullpath_curr_zxp_extension)), True)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (83 > 79 characters)

"extension.zxp")
if not fullpath_curr_zxp_extension.exists():
if self._log_signal:
self._log_signal.emit("Cannot find ZXP extension for {}, looked at: {}".format(
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (99 > 79 characters)

"hosts",
extension.host_id,
"api",
"extension.zxp")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (80 > 79 characters)

# Install ZXP shipped in the current version folder
fullpath_curr_zxp_extension = version_path.joinpath("openpype",
"hosts",
extension.host_id,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (82 > 79 characters)

Copy link

@hound hound bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some files could not be reviewed due to errors:

Traceback (most recent call last):
Traceback (most recent call last):
  File "/usr/local/bin/flake8", line 8, in 
    sys.exit(main())
  File "/usr/local/lib/python3.8/dist-packages/flake8/main/cli.py", line 18, in main
    app.run(argv)
  File "/usr/local/lib/python3.8/dist-packages/flake8/main/application.py", line 393, in run
    self._run(argv)
  File "/usr/local/lib/python3.8/dist-packages/flake8/main/application.py", line 381, in _run
    self.run_checks()
  File "/usr/local/lib/python3.8/dist-packages/flake8/main/application.py", line 300, in run_checks
    self.file_checker_manager.run()
  File "/usr/local/lib/python3.8/dist-packages/flake8/checker.py", line 331, in run
    self.run_serial()
  File "/usr/local/lib/python3.8/dist-packages/flake8/checker.py", line 315, in run_serial
    checker.run_checks()
  File "/usr/local/lib/python3.8/dist-packages/flake8/checker.py", line 598, in run_checks
    self.run_ast_checks()
  File "/usr/local/lib/python3.8/dist-packages/flake8/checker.py", line 502, in run_ast_checks
    for (line_number, offset, text, check) in runner:
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checker.py", line 56, in run
    parser.visit(self.tree)
  File "/usr/lib/python3.8/ast.py", line 371, in visit
    return visitor(node)
  File "/usr/lib/python3.8/ast.py", line 379, in generic_visit
    self.visit(item)
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checker.py", line 39, in visit_ClassDef
    self.capture_issues_visitor('ClassDef', node)
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checker.py", line 33, in capture_issues_visitor
    self.generic_visit(node)
  File "/usr/lib/python3.8/ast.py", line 381, in generic_visit
    self.visit(value)
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checker.py", line 36, in visit_Call
    self.capture_issues_visitor('Call', node)
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checker.py", line 30, in capture_issues_visitor
    issues = checker.run(node)
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checkers/render.py", line 22, in run
    if isinstance(arg, ast.Call) and arg.func.id == 'locals':
AttributeError: 'Attribute' object has no attribute 'id'

@@ -562,6 +564,11 @@ def _parse_placeholder_node_data(self, node):
nb_children = int(node_knobs["nb_children"].getValue())
placeholder_data["nb_children"] = nb_children

# TODO: Delete this once all the templates will used 'Create' instead of 'Creator' plugins
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (98 > 79 characters)

for key in self.get_placeholder_keys():
# Allow the transition between legacy Creator and New one
placeholder_keys = self.get_placeholder_keys()
# TODO: Delete this once all the templates will used 'Create' instead of 'Creator' plugins
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (98 > 79 characters)

# Force new context
os.environ["AVALON_PROJECT"] = context["project"]["name"]
os.environ["AVALON_ASSET"] = context["asset"]["name"]
os.environ["AVALON_TASK"] = context["representation"]["context"]["task"]["name"]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (88 > 79 characters)

load,
get_representation_context
)
from openpype.hosts.openrv.api.pipeline import imprint_container
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'openpype.hosts.openrv.api.pipeline.imprint_container' imported but unused

completed_process.stdout,
completed_process.stderr), True)

def get_zxp_extensions_to_update(self, openpype_version, system_settings, force=False) -> [ZXPExtensionData]:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (113 > 79 characters)

continue

if self._step_text_signal:
self._step_text_signal.emit("Install ZXP extension for <b>{}</b> ...".format(extension.host_id))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (112 > 79 characters)

if not fullpath_curr_zxp_extension.exists():
if self._log_signal:
self._log_signal.emit("Cannot find ZXP extension for {}, looked at: {}".format(
extension.host_id, str(fullpath_curr_zxp_extension)), True)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (83 > 79 characters)

"extension.zxp")
if not fullpath_curr_zxp_extension.exists():
if self._log_signal:
self._log_signal.emit("Cannot find ZXP extension for {}, looked at: {}".format(
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (99 > 79 characters)

"hosts",
extension.host_id,
"api",
"extension.zxp")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (80 > 79 characters)

# Install ZXP shipped in the current version folder
fullpath_curr_zxp_extension = version_path.joinpath("openpype",
"hosts",
extension.host_id,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (82 > 79 characters)

Copy link

@hound hound bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some files could not be reviewed due to errors:

Traceback (most recent call last):
Traceback (most recent call last):
  File "/usr/local/bin/flake8", line 8, in 
    sys.exit(main())
  File "/usr/local/lib/python3.8/dist-packages/flake8/main/cli.py", line 18, in main
    app.run(argv)
  File "/usr/local/lib/python3.8/dist-packages/flake8/main/application.py", line 393, in run
    self._run(argv)
  File "/usr/local/lib/python3.8/dist-packages/flake8/main/application.py", line 381, in _run
    self.run_checks()
  File "/usr/local/lib/python3.8/dist-packages/flake8/main/application.py", line 300, in run_checks
    self.file_checker_manager.run()
  File "/usr/local/lib/python3.8/dist-packages/flake8/checker.py", line 331, in run
    self.run_serial()
  File "/usr/local/lib/python3.8/dist-packages/flake8/checker.py", line 315, in run_serial
    checker.run_checks()
  File "/usr/local/lib/python3.8/dist-packages/flake8/checker.py", line 598, in run_checks
    self.run_ast_checks()
  File "/usr/local/lib/python3.8/dist-packages/flake8/checker.py", line 502, in run_ast_checks
    for (line_number, offset, text, check) in runner:
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checker.py", line 56, in run
    parser.visit(self.tree)
  File "/usr/lib/python3.8/ast.py", line 371, in visit
    return visitor(node)
  File "/usr/lib/python3.8/ast.py", line 379, in generic_visit
    self.visit(item)
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checker.py", line 39, in visit_ClassDef
    self.capture_issues_visitor('ClassDef', node)
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checker.py", line 33, in capture_issues_visitor
    self.generic_visit(node)
  File "/usr/lib/python3.8/ast.py", line 381, in generic_visit
    self.visit(value)
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checker.py", line 36, in visit_Call
    self.capture_issues_visitor('Call', node)
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checker.py", line 30, in capture_issues_visitor
    issues = checker.run(node)
  File "/usr/local/lib/python3.8/dist-packages/flake8_django/checkers/render.py", line 22, in run
    if isinstance(arg, ast.Call) and arg.func.id == 'locals':
AttributeError: 'Attribute' object has no attribute 'id'

return plugins_paths

def get_publish_plugin_paths(self, host_name):
return self.get_plugin_paths_by_hostnames_and_type([host_name, "common"], "publish")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (92 > 79 characters)

host_names = [host_names]

for host_name in host_names:
if host_name in plugin_folders and type_name in plugin_folders[host_name]:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (86 > 79 characters)

for host_name in plugin_folders:
for type_name in plugin_folders[host_name]:
if type_name in plugins_dict:
plugins_dict[type_name].extend(plugin_folders[host_name][type_name])
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (88 > 79 characters)

plugin_folders = self.get_plugin_folders()

# Initialize all plugins which can be supported
plugins_dict = {type_name: [] for type_name in self._valid_plugin_types}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (80 > 79 characters)

if type_name not in self._plugin_folders[host_name]:
self._plugin_folders[host_name][type_name] = []

self._plugin_folders[host_name][type_name].append(str(plugin_type_path.absolute()))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (99 > 79 characters)


self.save_btn.setEnabled(enabled and not self._reset_crashed)
if enabled:
self.save_btn.setEnabled(mode == EditMode.ENABLE and not self._reset_crashed)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (85 > 79 characters)

# Skip current project
continue

action_project = ProjectSettingsAction(project_name, submenu_projects)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (82 > 79 characters)

action.version_triggered.connect(
self.version_change_requested
if versions:
submenu_versions = QtWidgets.QMenu("Use settings from version", menu)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (81 > 79 characters)

"review"
],
"reel_name": "OP_LoadedReel",
"clip_name_template": "{batch}_{folder[name]}_{product[name]}<_{output}>",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (82 > 79 characters)

},
"create": {
"CreateSaver": {
"temp_rendering_path_template": "{workdir}/renders/fusion/{product[name]}/{product[name]}.{frame}.{ext}",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (117 > 79 characters)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants