Introduce hatch-managed environments#1831
Conversation
- Add hatch environments (`extensions`, `extras`, `style`, `test`, `tools`, `all`), each corresponding to a project extra, using `uv` as the installer for fast environment setup - Add `DANDI_PAGINATION_DISABLE_FALLBACK` env var and a `run` script (`hatch run test:run`) to the `test` environment - Update `CLAUDE.md` and `DEVELOPMENT.md` to document hatch usage Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
62057bb to
6b56e02
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1831 +/- ##
==========================================
- Coverage 75.13% 75.10% -0.03%
==========================================
Files 85 85
Lines 11932 11932
==========================================
- Hits 8965 8962 -3
- Misses 2967 2970 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
uff, if only for you since I personally do not use hatch and prefer |
|
I do not use |
|
I use tox, not attached to it but it gets the job done. I haven't really used hatch. |
Well, in this team, it is only for me then. However, it is possible that there are people outside of this team find the setup useful/convenient. As it is noted in the top post of this PR, the changes in this PR don't add or modify any existing setup but just add the option of using Hatch-managed environments. |
|
The main goal for me really is to replace Lines 9 to 13 in f14c1ee with just and I can just delete the environment with |
Summary
This PR introduces hatch-managed environments
to the project, providing a convenient way to quickly set up clean,
relevant environments for development. This change does not affect the
build or any other aspect of the project.
extensions,extras,style,test,tools,all), each corresponding to a project extra, usinguvas the installer for fast environment setup
DANDI_PAGINATION_DISABLE_FALLBACKenv var and arunscript(
hatch run test:run) to thetestenvironmentCLAUDE.mdandDEVELOPMENT.mdto document hatch usageTest plan
hatch run test:runruns tests indandi/tests🤖 Generated with Claude Code