E226: 'missing whitespace' introspection issue
Open
@IanLee1521 is already working on this.
Since Dec 18, 2014.
opinion
- Dominant language
- Python
- Stars
- 5.2k
- Forks
- 754
- PR merge metrics
- No merged PRs in 30d
Description
I'm getting "PEP 8: missing whitespace around arithmetic operator" introspection flag in cases where I should not, per this section of Pep 8:
"If operators with different priorities are used, consider adding whitespace around the operators with the lowest priority(ies). Use your own judgment; however, never use more than one space, and always have the same amount of whitespace on both sides of a binary operator.
Yes:
i = i + 1
submitted += 1
x = x_2 - 1
hypot2 = x_x + y*y
c = (a+b) * (a-b)"
This may be to a change in Pep 8 that this tool hasn't caught up with:
http://hg.python.org/peps/rev/37af28ad2972
http://hg.python.org/peps/rev/16dd63848921
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.