Skip to content

Conversation

@ebugden
Copy link
Owner

@ebugden ebugden commented Jul 20, 2017

Feedback concerning the completeness and the accuracy of the tests would be much appreciated.

Also maybe suggestions for how to make the error management in the Python more pythonic.

Copy link
Collaborator

Choose a reason for hiding this comment

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

please explain those numbers in a comment or declare them as variables

Copy link
Collaborator

Choose a reason for hiding this comment

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

Could we use os.getcwd() to get the current working directory?
https://docs.python.org/3/library/os.html#os.getcwd

Copy link
Collaborator

Choose a reason for hiding this comment

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

Since we only need namedtuple, let's use this format: from collections import namedtuple.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Align with first argument of the fonction

Copy link
Collaborator

Choose a reason for hiding this comment

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

lets use single quote everywhere to define strings

Copy link
Collaborator

Choose a reason for hiding this comment

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

Using exceptions here, would be more pythonic

Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you define this list in variable out of the function call?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Align with the function call.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Here, explain our definition of offset and address and why we need this function.

Makefile is for building the binaries necessary for testing the library.

Signed-off-by: Erica Bugden <erica.bugden@efficios.com>
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