Skip to content

chore: drop duplicate vocabulary entries and lint for them - #566

Merged
derek73 merged 1 commit into
masterfrom
chore/dedupe-vocabulary-sets
Oct 1, 2026
Merged

derek73 merged 1 commit into
masterfrom
chore/dedupe-vocabulary-sets

Conversation

@derek73

@derek73 derek73 commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Twelve set literals in nameparser/config held an entry twice:

  • in SUFFIX_ACRONYMS: ae, afc, afm, cgm, chfc, gcb, gcmg, gcvo, kcie, kcsi, vc
  • in TITLES: marquis

A frozenset keeps one copy, so no behavior changes. Verified by executing master's suffixes.py and titles.py and comparing every module-level frozenset against the branch's: all identical.

Also enables ruff's B033 (duplicate set items) in extend-select, so the next bulk vocabulary import can't bring duplicates back. uv run ruff check passes.

No release-log entry: there is no user-visible change.

🤖 Generated with Claude Code

Twelve set literals in nameparser/config held an entry twice (eleven
in SUFFIX_ACRONYMS, 'marquis' in TITLES). A frozenset keeps one copy,
so no set changed; every frozenset in both modules compares equal to
master's. Enabling ruff's B033 keeps the next bulk import from bringing
duplicates back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@derek73 derek73 added the tooling label Oct 1, 2026
@derek73 derek73 self-assigned this Oct 1, 2026
@codecov

codecov Bot commented Oct 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.86%. Comparing base (8aeb642) to head (e829ecf).
⚠️ Report is 8 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #566   +/-   ##
=======================================
  Coverage   98.85%   98.86%           
=======================================
  Files          45       45           
  Lines        3935     3959   +24     
=======================================
+ Hits         3890     3914   +24     
  Misses         45       45           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@derek73
derek73 merged commit b98b26e into master Oct 1, 2026
11 checks passed
@derek73
derek73 deleted the chore/dedupe-vocabulary-sets branch October 1, 2026 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant