osl-incubator / scicookie

Cookiecutter template for a Python package.
https://osl-incubator.github.io/scicookie
Other
10 stars 18 forks source link

feat(tui): Implement conditional option #281

Closed Anavelyz closed 1 month ago

Anavelyz commented 2 months ago

Pull Request description

If a user chooses certain options, this may lead to a new question or new options. To do this, it was necessary to implement the conditional option in ui.py.

Fixes #171

Pull Request checklists

This PR is a:

About this PR:

Author's checklist:

Reviewer's Checklist

xmnlab commented 1 month ago

It is a good progress @Anavelyz ! thanks for working on that

checking the workflow, I think that if the user decide to not configure git, it should not add anything with git.

it will be a bit challenge ... but at least I think you should review https://github.com/osl-incubator/scicookie/blob/main/src/scicookie/hooks/post_gen_project.py#L328

maybe it should abort or skip the git commands there

maybe it should also remove the .github folder

xmnlab commented 1 month ago

does it make sense?

Anavelyz commented 1 month ago

This was an attempt to resolve issue #171, unfortunately it was not successful 😞 so I will close the PR.