Skip to content

fix: drop duplicate keys in state_help - #12011

Merged
jennifer-richards merged 1 commit into
ietf-tools:mainfrom
G26karthik:fix/state-help-typo-duplicates
Dec 4, 2026
Merged

jennifer-richards merged 1 commit into
ietf-tools:mainfrom
G26karthik:fix/state-help-typo-duplicates

Conversation

@G26karthik

@G26karthik G26karthik commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #12006

state_help() in ietf/doc/views_help.py listed bofreq, procmaterials and statement twice, with identical values. This removes the second copy of each. The resulting mapping is unchanged (checked by parsing the dict before and after), and ruff's F601 no longer reports repeated keys in the file.

@jennifer-richards

Copy link
Copy Markdown
Member

12007 was fixed by a separate PR (and the test is unnecessary).

@G26karthik
G26karthik force-pushed the fix/state-help-typo-duplicates branch from 319f1c8 to f9cf63f Compare November 9, 2026 17:27
@G26karthik G26karthik changed the title fix: correct the Shepherd title and drop duplicate keys in state_help fix: drop duplicate keys in state_help Nov 9, 2026
@G26karthik

Copy link
Copy Markdown
Contributor Author

Thanks @jennifer-richards. I've dropped the title change and the test, so the PR now only removes the duplicate keys for #12006 (rebased on main).

@codecov

codecov Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.27%. Comparing base (b0a87a5) to head (f9cf63f).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #12011   +/-   ##
=======================================
  Coverage   89.26%   89.27%           
=======================================
  Files         343      343           
  Lines       46803    46803           
=======================================
+ Hits        41781    41782    +1     
+ Misses       5022     5021    -1     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@G26karthik

Copy link
Copy Markdown
Contributor Author

@jennifer-richards this is now just the three duplicate keys for #12006, and CI is green. Is there anything else you'd like changed before it goes in?

@G26karthik

Copy link
Copy Markdown
Contributor Author

@jennifer-richards a short follow-up: removing the three duplicate keys for #12006 still applies without conflicts. Is anything holding it back that I can fix?

@jennifer-richards

Copy link
Copy Markdown
Member

Is anything holding it back that I can fix?

Nope, just waiting to get attention back to it. Thanks for the contribution!

@jennifer-richards
jennifer-richards merged commit 1efb948 into ietf-tools:main Dec 4, 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.

Remove duplicate keys from the state_help() mapping

2 participants