Skip to content

Revert "YAML I/O: quote with double quotes, matching Prettier's default" - #713

Merged
edkerk merged 1 commit into
develop3from
revert/yaml-double-quotes
Aug 28, 2026
Merged

Revert "YAML I/O: quote with double quotes, matching Prettier's default"#713
edkerk merged 1 commit into
develop3from
revert/yaml-double-quotes

Conversation

@edkerk

@edkerk edkerk commented Aug 28, 2026

Copy link
Copy Markdown
Member

Summary

Reverts the quote-character choice from #710 back to single quotes, per request. writeYAMLmodel emits single quotes when a scalar needs quoting again, exactly as before #710.

readYAMLmodel's unescaping keeps handling both quote styles (it already did, to read files written either way — a reader should be liberal in what it accepts even if the writer only emits one). #712's list-item quote-marker-stripping fix is untouched: that bug affected a quoted list item under either quote convention and isn't specific to which character is used, so there's no reason to revert it.

Test plan

  • tSyntax, tIO — 15 passed, 0 failed, 1 filtered (unrelated missing dependency)
  • Byte-diff against the reverted write_yaml_model (paired PR) for the same model: identical SHA256, and identical to the pre-YAML I/O: quote with double quotes, matching Prettier's default #710 writer's own output (same hash as the original byte-identity verification)

Reverts the quote-character choice from #710 back to single quotes.
writeYAMLmodel emits single quotes when a scalar needs quoting again,
exactly as before #710 (verified: byte-identical output to the
pre-#710 writer on tutorial/smallYeast.yml, same SHA256).

readYAMLmodel's unescaping keeps handling both quote styles (it
already did, to read files written either way) and #712's list-item
quote-marker-stripping fix is untouched --- that bug affected quoted
list items under either quote convention and isn't specific to which
character is used, so there's no reason to revert it.
@github-actions

Copy link
Copy Markdown

Function test results

303 tests   276 ✅  1m 7s ⏱️
 25 suites   27 💤
  1 files      0 ❌

Results for commit 2eed9e5.

@edkerk
edkerk merged commit d74e43f into develop3 Aug 28, 2026
4 checks passed
@edkerk
edkerk deleted the revert/yaml-double-quotes branch August 28, 2026 18:20
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