bootstrapped AppConfig name is hyphenated
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 10
- Forks
- 40
- Avg merge
- 21h 24m
- Merged PRs (30d)
- 8
Description
I got the following error the first time I tried to generate migrations from a bootstrapped plugin. The hyphen should be removed.
File "/src/pulp-replica/pulp_replica/app/__init__.py", line 4
class Pulp-ReplicaPluginAppConfig(PulpPluginAppConfig):
^
SyntaxError: invalid syntax
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
Reproduce the bootstrap flow and inspect the generated pulp_replica/app/__init__.py, where the invalid Pulp-ReplicaPluginAppConfig declaration appears. Trace that output back to the plugin template, remove the hyphen in the generated class name, and rerun migration generation to confirm the bootstrapped plugin is valid Python.
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
- 65/100