12 comments (12 comments)1 reaction (1 reaction)0 assignees (0 assignees)Rust47,527 stars (47,527 stars)2,088 forks (2,088 forks)batch import
configurationhelp wantedrule
Description
E111 should probably use the indent-width setting?
Contributor guide
- Tech stack
- rustpython
- Domain
- clitooling
- Issue type
- feature
- DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
- 2
- Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
- under 1 hour
- Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
- active
- ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
- clear
- Prerequisites
- Basic Rust knowledgeUnderstanding of ruff's rule system
- Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
- 80
- Research direction
- Look at how other rules in ruff use the indent width setting. The E111 and E114 rules are defined in the ruff source code, likely in a file related to indentation checks. Modify the rule logic to read the indent width from the settings instead of using a hardcoded value. Ensure that the change passes existing tests and consider adding a test for the new behavior. The issue has 12 comments that may provide additional context.