Skip to content

Fix erroneous sorting of validity ranges#519

Merged
gtrevisan merged 1 commit intodevfrom
glt/fix-toml-sort
Feb 12, 2026
Merged

Fix erroneous sorting of validity ranges#519
gtrevisan merged 1 commit intodevfrom
glt/fix-toml-sort

Conversation

@gtrevisan
Copy link
Copy Markdown
Member

without this override, toml-sort would have sorted one C-MOD validity range, and rendered it unphysical:

@gtrevisan gtrevisan requested a review from Copilot February 12, 2026 16:07
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the toml-sort configuration to prevent validity range arrays from being reformatted in a way that could cause them to be sorted and become physically invalid.

Changes:

  • Added a toml-sort override to disable inline arrays for *.physics.attributes.*.validity paths.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gtrevisan gtrevisan merged commit 3275cee into dev Feb 12, 2026
34 of 36 checks passed
@gtrevisan gtrevisan deleted the glt/fix-toml-sort branch February 12, 2026 16:19
@gtrevisan gtrevisan mentioned this pull request Feb 12, 2026
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.

2 participants