Repository navigation
Drop the duplicate hom key from .typos.toml - #4016
Merged
ChrisRackauckas merged 1 commit intoJul 25, 2026
Merged
Conversation
SciML#4004 added `hom` under "Technical variable names" (line 72) and SciML#4000 added it again at the end of the file (line 149). TOML forbids duplicate keys, so typos cannot read its own config and bails out before checking anything: TOML parse error at line 149, column 1 | 149 | hom = "hom" # scc_hom homotopy abbreviation in NonlinearSolve tests (SciML#3989) | ^^^ duplicate key Remove the later entry — the line 72 declaration already covers the `scc_hom` variables — and leave a pointer in its place, matching how the file already notes the same situation for `Numer`. Co-Authored-By: Chris Rackauckas <[email protected]>
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.
This PR should be ignored until reviewed by @ChrisRackauckas.
The failure
Spell Check with Typosfails on master in 6 seconds, exit code 78:Why
.typos.tomldeclareshomtwice, and TOML forbids duplicate keys:Line 72 came from #4004, line 149 from #4000 — two PRs allowlisting the same
abbreviation, merged close together. typos cannot parse its own config, so it
exits before checking a single file: the spell check has not actually run on
master since.
The fix
Remove the later duplicate. The line 72 declaration already covers the
scc_homvariables the second entry was added for. A pointer comment goes inits place, matching how the file already handles this for
Numer(
# (Numer already declared above for "BIT Numer" context.)).Verification
Reproduced and fixed locally with the same command the workflow runs:
Clean exit with no findings, so the spell check now actually runs and passes —
and dropping the entry loses no coverage (
homis still allowlisted by line 72).Local typos is 1.47.0 vs the workflow's 1.48.0; the TOML duplicate-key rejection
is version-independent, but CI on this PR is the authoritative check for 1.48's
dictionary.
🤖 Generated with Claude Code
https://claude.ai/code/session_01TPHRh64BLfoXSzQ3AxKNwC