Replies: 2 comments
-
I agree about the use of Poetry here and don't necessarily think its an issue to have it as a requirement. Can always link to the poetry documentation for recommended installation.
I'm open to different options here. I do think the easiest is to
I can't think of anything else at the moment. Wondering if it would be beneficial to include pre-commit hooks, though this adds on one more thing to "setup" for development.
Cool - we could also look into making the switch. I saw it being used I think in
This one I am having a little bit of trouble envisioning. Dry-run testing is the only one I can see being feasible to implement - maybe Snakemakes unit-testing can help with this. Otherwise I see this as more developer dependent on making sure appropriate tests are included
Agree with this. I think a README should be required - the readthedocs is nice to have but not a necessity.
I saw the github template option the other day and was wondering if it would be a good option for something like this. Perhaps a combination of the two? A bare-minimum gh template with instructions in the documentation. Would still lose the cookiecutter aspect though. |
Beta Was this translation helpful? Give feedback.
-
I think prescribing poetry is fine and if a user doesn't want to use it, they can edit their generated app accordingly. (That's true of pretty much anything in the template, now that I think about it.
I thiiiiink as long as the PEP-517 stuff is included, pipx will use the dependencies specified in I think as long as poetry is set up, just running
We can also just have a mostly blank sphinx
I haven't seen GitHub's template feature before but would be open to trying it. One consideration is that I think it would be good on our end to include tests in the CI that ensure the template is always current and/or functional. |
Beta Was this translation helpful? Give feedback.
-
Thought it would be good to discuss what we ultimately want the template project to include..
Let me know what you guys think of the items below:
General philosophy:
Package management:
Deployment of the workflow:
pipx install git+http://...
. Could also have dev instructions that just uses poetry.Linting:
snakemake --lint
is way too restrictive in my experience..Release drafter:
Testing:
Docs for end-users of the workflow:
README.md
Docs for the workflow author:
snakebids create
functionality, but it is a bit of a convoluted process for a new user -- (e.g. user needs to install snakebids first).. perhaps just recommending users topipx install snakebids
is the way to simplify this?Beta Was this translation helpful? Give feedback.
All reactions