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
Pylint fixes #97
Pylint fixes #97
Conversation
| else: | ||
| cmd_result['revoked'] = False | ||
|
|
||
| return cmd_result |
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.
do not remove the return statement
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.
Nice catch
| cls.__outer_class__ = outer_class | ||
| cls.__outer_name__ = name | ||
| cls.__name__ = '.'.join((outer_class.__name__, name)) | ||
| cls.__qualname__ = outer_class.__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.
this should be cls.__qualname__ = cls.__name__
|
NACK, please see inline comments |
|
|
||
| return cmd_result | ||
| return cmd_result |
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.
PEP8 violation
|
Please fix the typo. |
fix inefficient if statements, enable pylint check
|
I had to rebase, there were conflicts due the latest pushed patches |
I updated pylint fixes from Jan Barta