python-template
python-template copied to clipboard
Make parts of generated package optional
What
As mentioned during the discussion session on April 18, this template is frequently used as a starting point from which parts are removed after package generation. We should consider making these parts optional in the first place, so they can be enabled or disabled based on questions during setup.
Suggestions welcome for which parts to make optional!
How
Sections within files can be managed using the Jinja templating language, and optional files can be removed after generation by using the post_gen_project
hook
Candidate Parts
- [ ] SonarCloud
- [ ] GitHub Actions (in case of using e.g. GitLab instead)
- [ ] ...
Related: #361
I would be in favor of removing SonarCloud altogether, as its usage is likely to result in unresolvable complaints about code style because SonarCloud uses a different set of rules than ruff.
This has been discussed and new issues were created and will be acted on e.g. #458 #459 #468 #469 #453 Closing in favor of above mentioned issues.