pulp / pulp/plugin_template

Black config not added to pyproject.toml when updating template_config.yml

Open
#973 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
10
Forks
40
Avg merge
21h 24m
Merged PRs (30d)
8

Description

Steps to reproduce:

  1. plugin with black disable (i.e. pulp python)
  2. edit template_config.yml black: true
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.