Skip to content

Comments

Update template to v0.5.0#45

Merged
Marius1311 merged 4 commits intoquadbio:mainfrom
scverse-bot:template-update-v2-quadbio-cell-annotator
Apr 17, 2025
Merged

Update template to v0.5.0#45
Marius1311 merged 4 commits intoquadbio:mainfrom
scverse-bot:template-update-v2-quadbio-cell-annotator

Conversation

@scverse-bot
Copy link
Contributor

cookiecutter-scverse released v0.5.0.

Changes

New template sync

We re-implemented template sync from scratch instead on relying on cruft. This allows us to create real merge conflicts that show up as such on GitHub instead of .rej files.

Enhancements

We committed to using hatch as project and environment manager. By doing so, we simplified the
GitHub actions:

We switched the pre-commit hook from prettier to biome and added a pre-commit hook for autoformatting pyproject.toml files:

We added (optional) integration with VScode and improved cookiecutter prompts:

We removed bump2version as recommended way to update versions. Instead, just update the version manually in pyproject.toml or use hatch-vcs

Fixes

Documentation

Chore

New Contributors

Full Changelog: scverse/cookiecutter-scverse@v0.4.0...v0.5.0

Additional remarks

  • unsubscribe: If you don’t want to receive these PRs in the future,
    add skip: true to template-repos.yml using a PR or,
    if you never want to sync from the template again, delete the .cruft.json file in the root of your repository.
  • If there are merge conflicts, you need to resolve them manually.
  • The scverse template works best when the pre-commit.ci, readthedocs and codecov services are enabled.
    Make sure to activate those apps if you haven't already.

@codecov
Copy link

codecov bot commented Apr 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.22%. Comparing base (3b8a5bd) to head (04d6aa2).

❗ There is a different number of reports uploaded between BASE (3b8a5bd) and HEAD (04d6aa2). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (3b8a5bd) HEAD (04d6aa2)
3 2
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #45       +/-   ##
===========================================
- Coverage   85.85%   62.22%   -23.64%     
===========================================
  Files           9        9               
  Lines         495      495               
===========================================
- Hits          425      308      -117     
- Misses         70      187      +117     

see 4 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Marius1311
Copy link
Member

The one test is failing because it's trying to contact OpenAI, but repo secrets like the API key are not exposed to PRs from forks. Should be fine once it's on main.

@Marius1311 Marius1311 merged commit e23e94f into quadbio:main Apr 17, 2025
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants