python-poetry / python-poetry/tomlkit
Add indent control for multi-line `Array`
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 850
- Forks
- 162
- Avg merge
- 13m
- Merged PRs (30d)
- 2
Description
More or less a control for an indent: str when Array._multiline == True.
The Trivia.indent doesn't seem be the right place because it's in reference to the parent container?
Also, only when it's a multiline array does this indent exist; I'm thinking add an Array._multiline_indent: str ?
Contributor guide
No contributing guide indexed for this repository
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 Array implementation and the existing handling of Array._multiline, then compare how Trivia.indent is applied to parent containers. The issue is done when multiline arrays support a distinct indent control without changing single-line arrays or parent indentation behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100