Skip to content

chore: apply Altissimo Python package standard - #8

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.

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 src/altissimo/slack/__init__.py per the fleet's
  standard version pattern (reads installed package metadata, with a
  hardcoded fallback for editable/uninstalled dev environments)
- Write a real, specific description in pyproject.toml and README.md
  describing what the client actually does, replacing the scaffolded
  boilerplate
- Add a local mypy hook to .pre-commit-config.yaml so the strict mypy
  config that was already declared actually runs
- Remove the leftover scaffold test tests/test_placeholder.py now that
  the real suite lives in tests/test_slack.py

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