As per #4, this PR fixes the majority of issues (excluding globals) pointed out by various linters (pep8, pep257, Mc Cabe, pyflakes, pylint). I had set up the linter-python extension in Atom to look for these issues.
I've tried to separate out the changes to different atomic commits. For whitespace changes, check out this neat GitHub trick.
I'm not entirely sure about the last commit. Is the repeat variable really not used? How should the code be fixed? I can remove this commit from the PR if needed.
@jruderman and @tysmith, I would appreciate if you can take a look. Thanks!
As per #4, this PR fixes the majority of issues (excluding globals) pointed out by various linters (pep8, pep257, Mc Cabe, pyflakes, pylint). I had set up the linter-python extension in Atom to look for these issues.
I've tried to separate out the changes to different atomic commits. For whitespace changes, check out this neat GitHub trick.
I'm not entirely sure about the last commit. Is the repeat variable really not used? How should the code be fixed? I can remove this commit from the PR if needed.
@jruderman and @tysmith, I would appreciate if you can take a look. Thanks!