Black config not added to pyproject.toml when updating template_config.yml
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 10
- Forks
- 40
- Avg merge
- 21h 24m
- Merged PRs (30d)
- 8
Description
Steps to reproduce:
- plugin with black disable (i.e. pulp python)
- edit template_config.yml
black: true - run
./plugin-template --github pulp_python
act:
no configuration section added for black in pyprject.toml
exp:
pyproject.toml contains black configuration section
[tool.black]
line-length = 100
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
Run ./plugin-template --github pulp_python after changing black in template_config.yml, then inspect how the generator updates pyproject.toml. The fix is complete when enabling black produces a [tool.black] section with line-length = 100 as shown in the issue.
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
- 55/100