NLeSC / python-template

Netherlands eScience Center Python Template
https://research-software-directory.org/software/nlesc-python-template
Apache License 2.0
163 stars 73 forks source link

Make parts of generated package optional #383

Open sjvrijn opened 2 months ago

sjvrijn commented 2 months ago

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

sjvrijn commented 2 months ago

Related: #361

bouweandela commented 2 months ago

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.