-
Notifications
You must be signed in to change notification settings - Fork 86
Pylint 2.0.0 and a little bit of housekeeping #66
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
Conversation
…hat we want to ignore because we retain Python 2.7 compatibility
…at those attributes always exist
…e from referencing Algorithm to AlgorithmSuite
return 0 | ||
|
||
|
||
def _verified_iv_length(iv_length, algorithm): |
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.
Probably makes sense to rename algorithm -> algorithm_suite. Same for any other parameters where this has changed.
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.
Fair point. Updated within the changed inner functions. I'm going to leave the rest as-is for now, though. At some point I would like to go through the codebase and do a more complete transition, but I think this is not the time to do that.
Issue #, if available: #65 #17 #49
Description of changes:
In the process of updating our code to comply with the new checks in Pylint 2.0.0, I made the additional changes:
deserialize_header
logic out into component functions.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.