-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Hi @flying-sheep,
I'm working on improving the template docs in #406.
One point I'm struggling with is the integration of hatch and vscode because it's not as smooth as I'd like.
Even if I manage to get vscode to discover the default hatch env as described here,
this refers to the "default" (dev) environment. However, for running tests, we need the .[test]
"extra" dependencies included in the hatch-test
environment.
How do you typically set this up in vscode?
I was wondering if it makes our lives easier to not separate between the test
and dev
dependency groups. After all "testing" is part of the dev workflow.
cookiecutter-scverse/{{cookiecutter.project_name}}/pyproject.toml
Lines 30 to 53 in 45df5b4
optional-dependencies.dev = [ | |
"pre-commit", | |
"twine>=4.0.2", | |
] | |
optional-dependencies.doc = [ | |
"docutils>=0.8,!=0.18.*,!=0.19.*", | |
"ipykernel", | |
"ipython", | |
"myst-nb>=1.1", | |
"pandas", | |
# Until pybtex >0.24.0 releases: https://bitbucket.org/pybtex-devs/pybtex/issues/169/ | |
"setuptools", | |
"sphinx>=8.1", | |
"sphinx-autodoc-typehints", | |
"sphinx-book-theme>=1", | |
"sphinx-copybutton", | |
"sphinx-tabs", | |
"sphinxcontrib-bibtex>=1", | |
"sphinxext-opengraph", | |
] | |
optional-dependencies.test = [ | |
"coverage", | |
"pytest", | |
] |
Metadata
Metadata
Assignees
Labels
No labels