Skip to content

Add tests, linters, upgrade Python and dependencies#43

Merged
refaim merged 2 commits intomasterfrom
add-tests
Jan 31, 2026
Merged

Add tests, linters, upgrade Python and dependencies#43
refaim merged 2 commits intomasterfrom
add-tests

Conversation

@refaim
Copy link
Owner

@refaim refaim commented Jan 31, 2026

No description provided.

- Upgrade Python from 3.10 to 3.12
- Update all dependencies to latest versions
- Add ruff for linting and formatting
- Add mypy for type checking
- Add pytest with coverage to CI workflow
- Modernize type hints (Optional -> |, typing -> collections.abc)
- Fix Config._loaded_from to be a proper dataclass field
- Remove unused ParseError class from toc module
- Fix bug: Missing addons now display original name, not lowercase key

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@refaim refaim changed the title Add tests, linters and upgrade Python and dependencies Add tests, linters, upgrade Python and dependencies Jan 31, 2026
@refaim refaim force-pushed the add-tests branch 2 times, most recently from 9a0da0e to 9cb5ef0 Compare January 31, 2026 11:42
- Add pytest fixtures for Config, ConfigAddon, toc files
- Test signature module: calculate, validate, v1/v2 backward compat
- Test toc module: find_addons, version filtering, encoding (BOM, CRLF)
- Test snapjaw: config serialization, URL parsing, CLI commands, addon states
- Test mygit: clone, fetch_states, progress callbacks
- Add integration tests for real git repos (skipped by default, run with -m integration)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@refaim refaim merged commit 6531f2e into master Jan 31, 2026
3 checks passed
@refaim refaim deleted the add-tests branch January 31, 2026 12:02
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.

1 participant