Skip to content

Conversation

@zmoon
Copy link
Owner

@zmoon zmoon commented Jan 6, 2026

No description provided.

@codecov
Copy link

codecov bot commented Jan 7, 2026

Codecov Report

❌ Patch coverage is 93.27731% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.60%. Comparing base (c433d58) to head (f3f47d2).
⚠️ Report is 30 commits behind head on main.

Files with missing lines Patch % Lines
pyabc2/sources/eskin.py 93.10% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #86      +/-   ##
==========================================
+ Coverage   92.55%   92.60%   +0.05%     
==========================================
  Files           9       10       +1     
  Lines        1343     1461     +118     
==========================================
+ Hits         1243     1353     +110     
- Misses        100      108       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@zmoon zmoon marked this pull request as ready for review January 7, 2026 19:53
@zmoon zmoon requested a review from Copilot January 7, 2026 19:53
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

This PR adds support for loading tunebooks from Michael Eskin's ABC Transcription Tools website (https://michaeleskin.com/tunebooks.html). The implementation includes functionality to extract ABC notation from compressed URLs, download and parse tunebook data from various collections, and integrate with the existing pyabc2 sources module.

Key changes:

  • New eskin module with functions to load, parse, and convert Eskin ABC tunebook data
  • Vendored LZString library for URL compression/decompression
  • Comprehensive test coverage for all tunebook sources and URL handling

Reviewed changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 12 comments.

Show a summary per file
File Description
pyabc2/sources/eskin.py Core implementation: URL parsing, tunebook loading, ABC extraction from compressed URLs
pyabc2/sources/_lzstring.py Vendored LZString library for compression/decompression (excluded from linting)
pyabc2/sources/init.py Integration of eskin module into load_url dispatcher
tests/test_sources.py Comprehensive tests for eskin functionality including URL validation, data loading, and parsing
pyproject.toml Configuration updates to exclude vendored code from coverage and type checking
.pre-commit-config.yaml Exclude vendored LZString from isort and black formatting
.gitignore Allow tracking of _lzstring.py despite _* pattern
.flake8 Style exceptions for vendored LZString code
docs/examples/sources.ipynb Usage examples for loading Eskin tunebooks
docs/api.rst API documentation for eskin module functions

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

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

Copilot reviewed 9 out of 10 changed files in this pull request and generated 3 comments.


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

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

Copilot reviewed 9 out of 10 changed files in this pull request and generated 1 comment.


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

@zmoon zmoon merged commit 3045f7c into main Jan 7, 2026
8 checks passed
@zmoon zmoon deleted the eskin branch January 7, 2026 21:59
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