Skip to content

Disable auto-fix for rouge in the rare dictionary - #4053

Closed
ekanshul wants to merge 1 commit into
codespell-project:mainfrom
ekanshul:fix-1390-rouge-rare
Closed

ekanshul wants to merge 1 commit into
codespell-project:mainfrom
ekanshul:fix-1390-rouge-rare

Conversation

@ekanshul

Copy link
Copy Markdown
Contributor

"rouge" is a real English word, a Ruby gem, and a proper name. It currently has a single suggested replacement in the rare dictionary (which is on by default), so codespell -w rewrites it without prompting.

Add a second suggestion so this stays a hint rather than an automatic rewrite, as suggested in the issue.

Fixes #1390

"rouge" is a real English word (and a Ruby gem / proper name). A single
suggested replacement makes -w rewrite it without prompting. Add a second
suggestion so codespell asks instead of silently changing it.

Fixes codespell-project#1390
@ekanshul
ekanshul requested a review from peternewman as a code owner October 22, 2026 17:36
@DimitriPapadopoulos

Copy link
Copy Markdown
Collaborator

It's already in the rare dictionary.

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.

Rouge ==> Rogue and -L error.

2 participants