Skip to content

Workspace skeleton: uv, ruff, pytest, pre-commit, CI, REUSE - #1

Merged
sp00ktober merged 4 commits into
mainfrom
skeleton
Sep 27, 2026
Merged

sp00ktober merged 4 commits into
mainfrom
skeleton

Conversation

@sp00ktober

@sp00ktober sp00ktober commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

The skeleton from sp00ktober/MHFU-ModKit#57.

  • uv workspace (virtual root; members under packages/*, apps/*), lockfile
  • packages/modkit-testing: mhfu_data / mhp3rd_data fixtures as a pytest plugin; skip when the variable is unset, error when it points nowhere. It is also the member that gives the workspace its requires-python (a virtual root can't declare one)
  • pre-commit: ruff, reuse lint, comment-style check, standard file checks
  • CI: pre-commit on all files; pytest on 3.11 and 3.14

🤖 Generated with Claude Code

sp00ktober and others added 4 commits September 27, 2026 21:39
- virtual uv workspace over packages/* and apps/*, dev group pytest + pre-commit
- mhfu_data / mhp3rd_data fixtures: skip when the variable is unset, error when it
  points nowhere
- pre-commit: ruff, reuse lint, a comment-style check, the standard file checks
- CI: pre-commit on all files, pytest on Python 3.11 and 3.14
- MIT by default via REUSE.toml

Refs sp00ktober/MHFU-ModKit#57

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A virtual workspace root cannot declare requires-python, so uv took it from the running
interpreter and the lockfile failed under 3.14. The first member sets it. The fixtures ship
as a pytest11 plugin, so every package's tests get them with no conftest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sp00ktober
sp00ktober merged commit dc0f914 into main Sep 27, 2026
3 checks passed
@sp00ktober
sp00ktober deleted the skeleton branch September 27, 2026 20:07
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