-
Notifications
You must be signed in to change notification settings - Fork 2
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
RE: Code cleanup #2
Conversation
Resolve PEP8 warnings. Signed-off-by: Stephen Finucane <[email protected]>
Per PEP257, it is not recommended that signatures are given in docstrings as they may be obtained via introspection. Instead, use the docstring format suggested by Google Python Style Guide. Signed-off-by: Stephen Finucane <[email protected]>
Rather than having a function to "make" Message, do the required actions in the '__init__' function. This includes minor changes to the unit tests per this change. Signed-off-by: Stephen Finucane <[email protected]>
Resolve PyLint issues: * Invalid variables names * Missing docstrings * Badly wrapped lines Signed-off-by: Stephen Finucane <[email protected]>
This package is deprecated and is not available in Python 3. Remove the tests. In addition, resolve some immediate PyLint warnings. Signed-off-by: Stephen Finucane <[email protected]>
Allow user to provide mbox path to 'main' function as an argument to the executable. Signed-off-by: Stephen Finucane <[email protected]>
@stephenfin I was also planning to look into Python 3 support. Would you have any suggestions as to which parts of the tests suite are worth expanding (if you still remember, one year later)? Thanks! |
I'm afraid not - it's been a while. I imagine lots of test cases wouldn't go astray, however. |
@stephenfin True, thanks for the response! By the way, it looks like your PR was mostly PY3 compatible, apart from a single |
Copy of the original PR akuchling#3 by @stephenfin,
Making this a separate PR to make sure that unit tests in Travis CI pass and to rebase on top of PR #1.