Skip to content

chore: apply Altissimo Python package standard - #7

Merged
lukwam merged 1 commit into
mainfrom
chore/python-standard
Nov 6, 2026
Merged

lukwam merged 1 commit into
mainfrom
chore/python-standard

Conversation

@lukwam

@lukwam lukwam commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Brings the repo in line with the Altissimo Python package standard (firedantic-extras is the reference).

  • Adds __version__ to the package root, read from installed metadata, with a fallback to the pyproject.toml version, and exports it in __all__.
  • Replaces the boilerplate description in pyproject.toml and README.md with a real one.
  • Runs mypy as a local pre-commit hook. Strict mypy was configured in pyproject.toml but never ran, so CI's lint job now enforces it. It passes with no changes to the code.
  • Replaces the placeholder test with tests/test_init.py, which checks __version__ and that every name in __all__ exists.

This commit was written on 2026-09-15 and never pushed; it is rebased onto the current main (after the CI fix and Renovate onboarding). Pre-commit and pytest pass locally.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VeRtUXLok9MasZv7KAE7p7

- Add __version__ to the package __init__ following the standard
  importlib.metadata pattern, exported via __all__.
- Replace boilerplate description in pyproject.toml and README.md with
  an honest description of intended purpose, noting this package is
  scaffolding with no implementation yet.
- Add a local mypy hook to .pre-commit-config.yaml so the strict mypy
  config is actually enforced pre-commit.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@lukwam
lukwam merged commit 1aa3603 into main Nov 6, 2026
5 checks passed
@lukwam
lukwam deleted the chore/python-standard branch November 6, 2026 02:43
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