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

Minor changes #292

Merged

Conversation

joshuagl
Copy link
Collaborator

Fixes: N/A

Description of the changes being introduced by the pull request:

A small series of minor, mostly cosmetic, changes that caught my eye while looking at the code with a view to change the way we're doing imports.

Please verify and check that the pull request fulfils the following requirements:

  • The code follows the Code Style Guidelines
  • Tests have been added for the bug fix or new feature
  • Docs have been added for the bug fix or new feature

We have several unused modules, these were the obvious ones

Signed-off-by: Joshua Lock <[email protected]>
The hmac primitive was imported from pyca/cryptography and later shadowed by a
local variable called hmac, requiring references to the pyca/cryptography
primitive to be fully namespaced. Rename the local variable so that the import
is no longer shadowed.

Signed-off-by: Joshua Lock <[email protected]>
Signed-off-by: Joshua Lock <[email protected]>
in-line with the rest of the module and coding style make changes to:
* refer to the schema module by its bound name SCHEMA
* not refer to methods from this module by their full namespace

Signed-off-by: Joshua Lock <[email protected]>
@coveralls
Copy link

coveralls commented Oct 27, 2020

Coverage Status

Coverage decreased (-0.01%) to 98.868% when pulling 6c63f2a on joshuagl:joshuagl/minor_style_changes into 3e2f62b on secure-systems-lab:master.

Copy link
Member

@lukpueh lukpueh left a comment

Choose a reason for hiding this comment

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

🎉

@lukpueh lukpueh merged commit d05dc6a into secure-systems-lab:master Oct 28, 2020
@joshuagl joshuagl deleted the joshuagl/minor_style_changes branch October 28, 2020 14:21
@lukpueh lukpueh mentioned this pull request Nov 9, 2020
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.

4 participants