-
Notifications
You must be signed in to change notification settings - Fork 129
Conversation
…th_settings Sync hier attributes with settings
…sage Remove get_application usage
Pype: add vendor folder
Removed project from Widget, left project on model only
…date Fix update of project's tasks on Ftrack sync
…ture_action Create project structure action fix multiroot
Ftrack plugins in ftrack module
Pype 3: Use Poetry
Get creator by name fix
…ute_update Fix Ftrack custom attribute update
…t-thumb fix(nuke): missing preset's variable
Maya: Alembic only set attributes that exists
…set-in-mov-loader nuke: wrong frame offset in mov loader
There was a problem hiding this 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:
./pype/hosts/nuke/api/utils.py:51:38: B008: Do not perform function calls in ...
./pype/hosts/nuke/api/utils.py:51:38: B008: Do not perform function calls in argument defaults. The call is performed only once at function definition time. All calls to your function will reuse the result of that definition-time function call. If this is intended, assign the function call to a module-level variable and use that variable as a default value.
Traceback (most recent call last):
Traceback (most recent call last): File "/home/linters/.local/bin/flake8", line 11, in sys.exit(main()) File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/cli.py", line 18, in main app.run(argv) File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/application.py", line 393, in run self._run(argv) File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/application.py", line 381, in _run self.run_checks() File "/home/linters/.local/lib/python3.6/site-packages/flake8/main/application.py", line 300, in run_checks self.file_checker_manager.run() File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 331, in run self.run_serial() File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 315, in run_serial checker.run_checks() File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 598, in run_checks self.run_ast_checks() File "/home/linters/.local/lib/python3.6/site-packages/flake8/checker.py", line 502, in run_ast_checks for (line_number, offset, text, check) in runner: File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 56, in run parser.visit(self.tree) File "/usr/lib/python3.6/ast.py", line 253, in visit return visitor(node) File "/usr/lib/python3.6/ast.py", line 261, in generic_visit self.visit(item) File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 39, in visit_ClassDef self.capture_issues_visitor('ClassDef', node) File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 33, in capture_issues_visitor self.generic_visit(node) File "/usr/lib/python3.6/ast.py", line 263, in generic_visit self.visit(value) File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 36, in visit_Call self.capture_issues_visitor('Call', node) File "/home/linters/.local/lib/python3.6/site-packages/flake8_django/checker.py", line 30, in capture_issues_visitor issues = checker.run(node) File "/home/linters/.local/lib/python3.6/site-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'
if output is None: | ||
output = default_output | ||
return output | ||
return default_output |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
undefined name 'default_output'
if matching_item is not None: | ||
output = matching_item.get("enabled") | ||
if output is None: | ||
output = default_output |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
undefined name 'default_output'
project_settings['Workfiles']['last_workfile_on_startup']) | ||
|
||
if not startup_presets: | ||
return default_output |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
undefined name 'default_output'
Anatomy, | ||
get_project_settings | ||
) | ||
from pype.lib import ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'pype.lib.env_value_to_bool' imported but unused
# frames from Deadline Monitor | ||
"OutputFilename0": output_filename_0.replace("\\", "/"), | ||
|
||
# # Asset dependency to wait for at least the scene file to sync. |
There was a problem hiding this comment.
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)
@@ -0,0 +1,212 @@ | |||
import os |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'os' imported but unused
GN = nuke.toNode(container['objectName']) | ||
|
||
file = api.get_representation_path(representation).replace("\\", "/") | ||
context = representation["context"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
local variable 'context' is assigned to but never used
bdn["bdheight"].setValue(bdheight) | ||
|
||
bdn["name"].setValue(object_name) | ||
bdn["label"].setValue("Version tracked frame: \n`{}`\n\nPLEASE DO NOT REMOVE OR MOVE \nANYTHING FROM THIS FRAME!".format(object_name)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line too long (146 > 79 characters)
xpos = bdn.xpos() - bdn_frame | ||
ypos = bdn.ypos() - bdn_frame | ||
bdwidth = bdn["bdwidth"].value() + (bdn_frame*2) | ||
bdheight = bdn["bdheight"].value() + (bdn_frame*2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing whitespace around arithmetic operator
# add frame offset | ||
xpos = bdn.xpos() - bdn_frame | ||
ypos = bdn.ypos() - bdn_frame | ||
bdwidth = bdn["bdwidth"].value() + (bdn_frame*2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing whitespace around arithmetic operator
(2021-02-08)
Full Changelog
Enhancements:
Fixed bugs:
file
knob update #933Implemented Enhancements
Fixed Bugs
file
knob update nuke: missingfile
knob update #935 @jezschaOther Changes