Skip to content

Add __version__, fix package description, wire mypy into pre-commit - #9

Merged
lukwam merged 1 commit into
mainfrom
chore/version-mypy
Oct 29, 2026
Merged

lukwam merged 1 commit into
mainfrom
chore/version-mypy

Conversation

@lukwam

@lukwam lukwam commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Housekeeping carried over from the initial scaffolding.

  • Adds __version__ to the package, read from installed package metadata with a fallback for editable installs.
  • Replaces the scaffolded description in pyproject.toml and README.md with a real one-liner.
  • Adds a local mypy hook to .pre-commit-config.yaml so the strict mypy config in pyproject.toml actually runs in CI's lint job.

This commit sat unpushed on local main since 2026-09-15; it's cherry-picked here onto current main (after the poetry sync CI fix). Pre-commit, including the new mypy hook, and the test suite pass locally.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VeRtUZoqk4VfxUnz8wg2t7

- Add __version__ to altissimo.dnavisit per the team's standard version
  pattern (reads installed package metadata, falls back to the pyproject
  version for editable installs).
- Replace boilerplate description in pyproject.toml and README.md with a
  real one-liner describing the DNAvisit API client (auth, pre-test,
  post-test, and insights requests).
- Add a local mypy hook to .pre-commit-config.yaml so the strict mypy
  config already in pyproject.toml is actually enforced (previously only
  configured, never run in CI's pre-commit-based lint job).

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@lukwam
lukwam merged commit 14eb386 into main Oct 29, 2026
5 checks passed
@lukwam
lukwam deleted the chore/version-mypy branch October 29, 2026 14:05
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