python-template icon indicating copy to clipboard operation
python-template copied to clipboard

Make parts of generated package optional

Open sjvrijn opened this issue 9 months ago • 2 comments

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)
  • [ ] ...

sjvrijn avatar May 03 '24 15:05 sjvrijn

Related: #361

sjvrijn avatar May 05 '24 15:05 sjvrijn

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.

bouweandela avatar May 06 '24 08:05 bouweandela

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.

lyashevska avatar Aug 20 '24 13:08 lyashevska