style: remove em dashes repo-wide#363
Merged
Merged
Conversation
01b4483 to
b2ea3c9
Compare
House style: no em dashes. Replaces all em dashes across docstrings, comments, markdown docs, and config: - prose (.md/.py/.sh): em dash -> colon - structured (.yaml/.yml/.toml): em dash -> comma (colon would change YAML meaning) - the one noqa directive kept valid (parenthesized note) - .json fixtures untouched; one Cedar comment -> comma; en-dash numeric ranges left as-is Rebased on main (after #361/#362). Verified: ruff + mypy clean, 756 unit tests pass.
b2ea3c9 to
3d0863c
Compare
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.
Removes every em dash (—) from the cMCP repo per house style (279 across 79 files).
Replacement rule, chosen to never change meaning or break tooling:
.md/.py/.shdocstrings, comments, strings):—→:.yaml/.yml/.toml):—→,(a colon would alter YAML structure)# noqadirective: kept valid (parenthesized note, no colon).json/.cedarfixtures left untouched (hash/structure-sensitive), except one Cedar//comment0.0–1.0,3–7) left as-is (not em dashes)Verified locally: ruff + mypy clean, 756 unit tests pass (3 skipped), the claim experiments run, and
governance/cmcp-enforcement.yamlstill parses (its evidence test passes).🤖 Generated with Claude Code