docs: compact CLAUDE.md and fix stale facts#12
Merged
Conversation
Correct two stale descriptions in CLAUDE.md verified against source: - Commands: `just test` runs without coverage (addopts is empty in pyproject.toml); document `just test-ci` as the gated 100% line-coverage run and `just test-branch` as test-ci plus --cov-branch. - expose() is variadic `expose(*groups, ...)`, not single-group; note the ValueError on duplicate attribute names across groups and the TypeError on no groups. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Light CLAUDE.md compaction for the pytest-integration repo. The file was already lean; these are faithful correctness fixes verified against
Justfile,pyproject.toml, andmodern_di_pytest/factory.py.Changes
just testruns without coverage —addoptsis empty inpyproject.toml, so the old "addoptsalready adds--cov=..." claim was stale. Documentedjust test-ci(the gated--cov-fail-under=100line-coverage run) and clarifiedjust test-branchastest-ciplus--cov-branch.expose: corrected the signature to the actual variadicexpose(*groups, ...)(was described as single-groupexpose(group, ...)). Added theValueErroron duplicate attribute names across groups andTypeErroron no groups.No planning/architecture scaffolding added (small package, none present).
Verification
just lint-ci— all checks pass (eof-fixer, ruff format, ruff check, ty).🤖 Generated with Claude Code