Skip to content

flake8 (pep8 and pyflakes) clean-up #59

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

Merged
merged 2 commits into from
Oct 4, 2013
Merged

flake8 (pep8 and pyflakes) clean-up #59

merged 2 commits into from
Oct 4, 2013

Conversation

mrtheb
Copy link
Collaborator

@mrtheb mrtheb commented Oct 4, 2013

Continuing the effort started by @nekto0n, I ran flake8 on the whole project to:

  • clean pep8 issues
  • remove unused imports (pyflakes)

mumrah added a commit that referenced this pull request Oct 4, 2013
flake8 (pep8 and pyflakes) clean-up
@mumrah mumrah merged commit cfd9f86 into dpkp:master Oct 4, 2013
@mumrah
Copy link
Collaborator

mumrah commented Oct 4, 2013

Just an FYI to the PEP8 police (@nekto0n, @mrtheb, @mahendra), they did recently extend the max line width to 99 characters.

http://hg.python.org/peps/file/fb24c80e9afb/pep-0008.txt#l159

;)

@nekto0n
Copy link

nekto0n commented Oct 4, 2013

@mumrah Hooray! :)

@mrtheb
Copy link
Collaborator Author

mrtheb commented Oct 4, 2013

@mumrah yep, I saw that a while ago. I am not a big fan of 80chars limit either but I try to stay close for others who might like it. The most important in this request were the import warnings from pyflakes.

As a sidenote, I laughed and liked when I saw this on Kafka's coding quide

There is not a maximum line length (certainly not 80 characters, we don't work on punch cards any more), but be reasonable.

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.

3 participants