Skip to content

style: remove em dashes repo-wide#363

Merged
imran-siddique merged 1 commit into
mainfrom
style/purge-em-dashes
Jun 29, 2026
Merged

style: remove em dashes repo-wide#363
imran-siddique merged 1 commit into
mainfrom
style/purge-em-dashes

Conversation

@imran-siddique

Copy link
Copy Markdown
Contributor

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:

  • prose (.md / .py / .sh docstrings, comments, strings): :
  • structured (.yaml / .yml / .toml): , (a colon would alter YAML structure)
  • the single # noqa directive: kept valid (parenthesized note, no colon)
  • .json / .cedar fixtures left untouched (hash/structure-sensitive), except one Cedar // comment
  • en-dash numeric ranges (0.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.yaml still parses (its evidence test passes).

🤖 Generated with Claude Code

@imran-siddique imran-siddique force-pushed the style/purge-em-dashes branch from 01b4483 to b2ea3c9 Compare June 29, 2026 17:09
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.
@imran-siddique imran-siddique force-pushed the style/purge-em-dashes branch from b2ea3c9 to 3d0863c Compare June 29, 2026 17:17
@imran-siddique imran-siddique merged commit 246404b into main Jun 29, 2026
11 checks passed
@imran-siddique imran-siddique deleted the style/purge-em-dashes branch June 29, 2026 17:21
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