Skip to content

Ship a py.typed marker - #5

Merged
JeanHoccart merged 2 commits into
JeanHoccart:mainfrom
sarel-myburgh:fix/py-typed-marker
Oct 7, 2026
Merged

JeanHoccart merged 2 commits into
JeanHoccart:mainfrom
sarel-myburgh:fix/py-typed-marker

Conversation

@sarel-myburgh

Copy link
Copy Markdown
Contributor

Closes #1

Adds an empty bretzel/py.typed, the Typing :: Typed classifier, and a test that the marker stays in the package directory. A built wheel contains bretzel/py.typed.

sarel-myburgh and others added 2 commits October 4, 2026 19:54
Type checkers ignore Bretzel's annotations without a PEP 561 marker in the installed package.
tests/consistency/test_a_prohibition_gate_is_mutation_tested.py requires
every consistency test to state how it proves it bites; this one asserts
the file directly, so it has no detector to blind.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@JeanHoccart

Copy link
Copy Markdown
Owner

Thank you @sarel-myburgh — the first outside contribution to Bretzel, and a clean one: the marker, the classifier and a test that checks the package directory rather than the repo. I pushed one line on top: this repository's meta-gate asks every consistency test to declare how it proves it bites (MUTATION_NOT_APPLICABLE here, since the test asserts the file directly). CI is green on 3.12–3.14, Linux and Windows. Merging, and it will ship in the next alpha.

@JeanHoccart
JeanHoccart merged commit e7d999f into JeanHoccart:main Oct 7, 2026
7 checks passed
JeanHoccart pushed a commit that referenced this pull request Oct 7, 2026
…le count 262

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

Ship a py.typed marker so type checkers see Bretzel's annotations

2 participants