Closed habi closed 9 years ago
We actually purposely ignore whitespace after : because it makes the code align better visually.
See out tox file at:
Hi David, thanks for helping out.
We use flake8 to check for PEP8 violations. You can see which rules we ignore in the tox.ini file.
# E127 - Over indentation
# E128 - Under indentation
# E221 - Multiple whitespace before operator
# E241 - Multiple whitespace after :
# E265 - block comment should start with '# '
Edit: Thanh said it first :)
I thought the code alignment might be a visual issue :)
Do you also ignore pep8
s
E225 missing whitespace around operator
and
E121 continuation line indentation is not a multiple of four
Because [docs/source/conf.py]() contains some of those. Then I could still be of little help :)
@habi we run flake8 on the src/
directory so we don't catch any PEP8 violations in docs/
.
If you narrow down your changes to just the docs I'll gladly merge this PR.
There wasn't much to do, nonetheless I made [docs/source/conf.py]() fully pep8
-compliant, see PR https://github.com/Freeseer/freeseer/pull/681
I ran
pep8 --ignore=E501 *.py
and fixed some minor errors.TODO: Fix E501 errors.
As part of http://24pullrequests.com/