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

Pylint fixes #97

Closed
wants to merge 8 commits into from
Closed

Pylint fixes #97

wants to merge 8 commits into from

Conversation

MartinBasti
Copy link
Contributor

@MartinBasti MartinBasti commented Sep 20, 2016

I updated pylint fixes from Jan Barta

else:
cmd_result['revoked'] = False

return cmd_result
Copy link
Contributor

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

Copy link
Contributor Author

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__
Copy link
Contributor

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__

@tkrizek
Copy link
Contributor

tkrizek commented Sep 22, 2016

NACK, please see inline comments


return cmd_result
return cmd_result
Copy link
Contributor

Choose a reason for hiding this comment

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

PEP8 violation

@tkrizek
Copy link
Contributor

tkrizek commented Sep 22, 2016

Please fix the typo.

@tkrizek tkrizek added the ack Pull Request approved, can be merged label Sep 22, 2016
@MartinBasti
Copy link
Contributor Author

I had to rebase, there were conflicts due the latest pushed patches

@MartinBasti MartinBasti added the pushed Pull Request has already been pushed label Sep 22, 2016
@MartinBasti MartinBasti deleted the pylint-fix-barta branch September 22, 2016 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged pushed Pull Request has already been pushed
Projects
None yet
3 participants