Skip to content

Type all Python modules and add invariant gates - #168

Merged
dnncha merged 1 commit into
mainfrom
typed-all-modules
Oct 28, 2026
Merged

dnncha merged 1 commit into
mainfrom
typed-all-modules

Conversation

@dnncha

@dnncha dnncha commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner

Follow-up to #165 and #167.

  • Move every remaining dotmatch/quickdna module onto the strict mypy + pyright gate and remove all module exclusions.
  • Share CrisprCountMatrix/GuideCount types between count_io and cli.
  • Add Hypothesis invariants: distance symmetry/thresholds, Hamming/Levenshtein bounds, exact vs Hamming k=0, radius-vs-best direction, and stream batch invariance.
  • Add make compat39 for the Python 3.9 runtime import and example/doctest suites.
  • Speed up FASTQ validation with ASCII isprintable checks (stream +50.4% vs main 91e162b on the local harness).
  • Require multiqc>=1.22, link the typing guide from README/CONTRIBUTING, and keep release gates free of dev-only tools.

Local gates: make typecheck (40 files), make lint, make examples-test, make compat39, 2110 pytest passed, wheel/sdist checks passed.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-28T11:02:48.763658Z 66d082e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@dnncha
dnncha merged commit c850d82 into main Oct 28, 2026
12 of 35 checks passed
@dnncha
dnncha deleted the typed-all-modules branch October 28, 2026 11:00

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 66d082eddc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread python/tests/test_invariants.py Resolved
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