E261: ignores tab/space mix
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5.2k
- Forks
- 754
- PR merge metrics
- No merged PRs in 30d
Description
printf 'foo = "bar" \t# comment\n' | pep8 -
I expected the following output but got nothing:
stdin:1:12: E261 at least two spaces before inline comment
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.
Research direction
Reproduce the issue through the pep8 - stdin entry point using the command shown, then trace the E261 check in pycodestyle's single Python implementation. Done means the mixed tab/space input reports stdin:1:12: E261 at least two spaces before inline comment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 42/100