E111: Assumes 4 space indent.
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5.2k
- Forks
- 754
- PR merge metrics
- No merged PRs in 30d
Description
I know that's the pep8 spec.. but we've got 2 space indent dictated at my work. That breaks some things. it'd be better to provide some sort of override rather than have magic numbers in the code... e.g. if hang > 4: on line 512.
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
Start by locating the E111 implementation and the if hang > 4 logic around line 512 in the repository's Python file. Read how indentation is currently determined, then define where an override would be configured and verify that two-space indentation is handled without the reported breakage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100