ionelmc / cookiecutter-pylibrary

Enhanced cookiecutter template for Python libraries.
BSD 2-Clause "Simplified" License
1.25k stars 207 forks source link

Possible skip logic issue on codacy question? #242

Closed TSSlade closed 1 year ago

TSSlade commented 1 year ago

Given my understanding of the README, I would have expected question #36 to be skipped in light of my response to question #35. It appears it was not?

image

ionelmc commented 1 year ago

It's not possible, cookiecutter doesn't allow such flexibility. Just ignore that question - press enter :-)

On Fri, Sep 1, 2023, 16:42 T.Slade @.***> wrote:

Given my understanding of the README, I would have expected question #36 to be skipped in light of my response to question #35. It appears it was not?

[image: image] https://user-images.githubusercontent.com/3211478/265037362-172bf5bd-47e6-41a9-a423-fc9fb737216d.png

— Reply to this email directly, view it on GitHub https://github.com/ionelmc/cookiecutter-pylibrary/issues/242, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA7TXLRJ3FD3DBW3C2HLUTXYHQ3XANCNFSM6AAAAAA4HS6ZS4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

TSSlade commented 1 year ago

Ah, indeed, I'd misread this:

Fields that work together usually use the same prefix. If you answer "no" on the first one then the rest won't have any effect so just ignore them. Maybe in the future cookiecutter will allow option hiding or something like a wizard.

Thanks!