Skip to content

chore: add project foundations (licence, CI, mypy, pre-commit, release-please) - #1

Merged
Joe-Heffer merged 2 commits into
mainfrom
chore/project-foundations
Oct 25, 2026
Merged

Joe-Heffer merged 2 commits into
mainfrom
chore/project-foundations

Conversation

@Joe-Heffer

Copy link
Copy Markdown
Owner

Sets up the engineering foundations before milestone 2. No behaviour changes.

  • Licence: MIT (LICENSE), plus metadata, URLs and classifiers in pyproject.toml
  • Typing: strict mypy with py.typed. Small fixes: write_midi now has an explicit signature, plus cli.main and the volumedetect regex in the preview test
  • pre-commit: hygiene hooks, ruff (check and format), mypy
  • CI: lint, format check, mypy and pytest, with FluidSynth, the GM soundfont and ffmpeg installed so the preview tests run
  • Dependabot: weekly updates for GitHub Actions and uv
  • release-please: python release type. It also bumps the project's entry in uv.lock so uv sync --locked keeps working. __version__ now comes from package metadata
  • Docs: docs/roadmap.md (milestones), CLAUDE.md, and a Development section in the README

For release-please to open PRs, turn on "Allow GitHub Actions to create and approve pull requests" under Settings → Actions → General.

🤖 Generated with Claude Code

Joe-Heffer and others added 2 commits October 25, 2026 01:13
…e-please)

- MIT licence and project metadata in pyproject.toml
- Strict mypy, with small typing fixes in midi.write_midi, cli.main and a test
- pre-commit hooks for hygiene checks, ruff and mypy
- GitHub Actions CI running lint, format, mypy and the full test suite,
  including the FluidSynth preview tests
- Dependabot for GitHub Actions and uv
- release-please for versioning and CHANGELOG; version single-sourced
  from package metadata
- docs/roadmap.md with the milestone plan, and CLAUDE.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
setup-uv does not publish moving major tags.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Joe-Heffer
Joe-Heffer merged commit 81aa480 into main Oct 25, 2026
1 check passed
@Joe-Heffer
Joe-Heffer deleted the chore/project-foundations branch October 25, 2026 00:18
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