Repository navigation
chore: apply Altissimo Python package standard - #8
Merged
Merged
Conversation
- src/altissimo/lmm/__init__.py: derive __version__ from installed package metadata (falling back to the pyproject.toml version for editable installs), per the Altissimo Python standard's version pattern. The package is still empty scaffolding (__all__ previously []), so no other API surface was added. - pyproject.toml / README.md: replace the boilerplate "Altissimo Python client for lmm-python" description with an honest description of the package's current state (scaffolding, not yet implemented) since no concrete lmm client functionality exists yet to describe. - .pre-commit-config.yaml: add a local mypy hook (strict mode was already configured in pyproject.toml but never actually run). - tests/test_placeholder.py: picked up a pre-existing ruff-format fix (blank line after docstring) surfaced when the pre-commit hooks were run with --all-files. poetry run pre-commit run --all-files and poetry run pytest both pass; mypy surfaced no pre-existing type errors. Co-Authored-By: Claude Sonnet 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings the repo in line with the Altissimo Python package standard (firedantic-extras is the reference).
__version__to the package root, read from installed metadata, with a fallback to thepyproject.tomlversion, and exports it in__all__.pyproject.tomlandREADME.mdwith a real one.pyproject.tomlbut never ran, so CI's lint job now enforces it. It passes with no changes to the code.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