Closed matrixik closed 10 years ago
That link says 2 blank lines seperating "top-level functions" and "class definition". There are no top level functions.
Please fix the above mentioned. And after doing that, could you squash all this into a single commit?
More info about squashing, http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html
Thanks
If pep8 tool [1] are saying:
request_handler.py:4:1: E302 expected 2 blank lines, found 1
then there should be 2 lines.
[1] https://pypi.python.org/pypi/pep8 - pep8 is the standard tool to check against rules from PEP 8 (http://http://legacy.python.org/dev/peps/pep-0008)
There is also flake8 (I use it): https://pypi.python.org/pypi/flake8
Flake8 is a wrapper around these tools:
PyFlakes
pep8
Ned Batchelder's McCabe script
And most powerful pylint (I also use it): https://pypi.python.org/pypi/pylint
Ok. Leave the extra lines.
Just FYI: pep8 tool (or flake8) should be used together with pylint, not one or the second, they are complementary.
Check now, please
I believe I did not screw anything up