Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/213 move pyblish to tools #238

Merged
merged 9 commits into from Jun 10, 2020

Conversation

mkolar
Copy link
Member

@mkolar mkolar commented Jun 10, 2020

No description provided.

@mkolar mkolar added this to the 2.10 milestone Jun 10, 2020
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:

./pype/tools/pyblish_pype/model.py:979:34: B008: Do not perform function call...
./pype/tools/pyblish_pype/model.py:979:34: 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.
./pype/tools/pyblish_pype/model.py:983:31: 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.
./pype/tools/pyblish_pype/model.py:1008:41: 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.

# Determine minimum indentation (first line doesn't count):
try:
indent = sys.maxint
max = sys.maxint
Copy link

Choose a reason for hiding this comment

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

sys.maxint is not a thing on Python 3. Use sys.maxsize.

lines = docstring.expandtabs().splitlines()
# Determine minimum indentation (first line doesn't count):
try:
indent = sys.maxint
Copy link

Choose a reason for hiding this comment

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

sys.maxint is not a thing on Python 3. Use sys.maxsize.

@mkolar mkolar merged commit 880e625 into 2.x/develop Jun 10, 2020
@mkolar mkolar deleted the feature/213_move_pyblish_to_tools branch July 8, 2020 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants