Skip to content

feat: prepare 0.0.8 with Zenodo integration, pre-commit improvements, and bug fixes#10

Merged
MattyB95 merged 4 commits intomainfrom
develop
Mar 16, 2026
Merged

feat: prepare 0.0.8 with Zenodo integration, pre-commit improvements, and bug fixes#10
MattyB95 merged 4 commits intomainfrom
develop

Conversation

@MattyB95
Copy link
Owner

Summary

  • Add Zenodo archiving support by updating CITATION.cff, adding a README badge, including a BibTeX entry, and introducing .zenodo.json metadata.
  • Expand pre-commit coverage with file integrity and hygiene hooks:
    • check-yaml
    • check-json
    • check-toml
    • trailing-whitespace
    • end-of-file-fixer
    • check-merge-conflict
    • check-added-large-files
    • detect-private-key
  • Add a scripts/sync_version.py pre-commit hook to keep CITATION.cff and the README BibTeX entry synchronized with pyproject.toml.
  • Fix deprecated torch.cuda.FloatTensor type-casting in RawNet2/model.py.
  • Remove redundant float(str(...)) conversion in label_normalizer.py.
  • Improve error reporting in RawNet2/run.py by raising a more descriptive RuntimeError when YAML config loading fails.

Test plan

  • All 95 tests pass: just test
  • Type checks pass: just type-check
  • All pre-commit hooks pass: pre-commit run --all-files
  • Confirm the Zenodo badge renders correctly in the published README

Copilot AI review requested due to automatic review settings March 16, 2026 22:26
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Jabberjay to version 0.0.8 and adds Zenodo citation/archival metadata, alongside a few small robustness and tooling improvements.

Changes:

  • Bump project version to 0.0.8 across packaging, lockfile, README/CITATION, and changelogs.
  • Add Zenodo integration metadata (.zenodo.json) and DOI references (README badge + BibTeX, CITATION.cff identifiers).
  • Expand pre-commit hooks and introduce scripts/sync_version.py to keep version references aligned.

Reviewed changes

Copilot reviewed 11 out of 12 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
uv.lock Updates editable package version to 0.0.8.
src/Jabberjay/Utilities/label_normalizer.py Simplifies score conversion using cast() and float().
src/Jabberjay/Models/RawNet2/run.py Wraps YAML/config load failures in a clearer RuntimeError.
src/Jabberjay/Models/RawNet2/model_config_RawNet.yaml Removes trailing whitespace and extra blank lines.
scripts/sync_version.py New script to sync version from pyproject.toml into CITATION.cff and README.
README.md Adds DOI badge, centers badge block, updates BibTeX version and adds DOI field.
pyproject.toml Bumps version, modernizes license field, and adjusts Black target versions.
docs/changelog.md Adds 0.0.8 release notes and fixes compare links.
CITATION.cff Adds Zenodo concept DOI identifier and bumps version.
CHANGELOG.md Adds 0.0.8 release notes and fixes compare links.
.zenodo.json Adds explicit Zenodo record metadata.
.pre-commit-config.yaml Adds local sync-version hook and enables additional pre-commit-hooks checks.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@MattyB95 MattyB95 merged commit c71d5d1 into main Mar 16, 2026
19 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