Skip to content

refactor: keep the --report-skip sections in one list, fix the --wide help - #787

Open
NotAFlightRisk wants to merge 2 commits into
boyter:masterfrom
NotAFlightRisk:report-skip-one-list
Open

NotAFlightRisk wants to merge 2 commits into
boyter:masterfrom
NotAFlightRisk:report-skip-one-list

Conversation

@NotAFlightRisk

Copy link
Copy Markdown
Contributor

On #778 I floated pulling the --report-skip names into one place, so here's roughly what that'd look like. They were typed out separately in the lookup, the unknown-section warning and the flag help, and one test kept its own copy that was still missing coupling. Now there's one slice and the rest read from it. The --report-skip help and the warning print exacly what they did before.

A new section name only goes in one place now, and the README checks from #779 go red until both spots in the README catch up.

The --wide help also said it "implies --complexity", but there's no such flag (scc --complexity gives unknown flag). What it actually does is keep complexity on even with -c, so it says "overrides --no-complexity" now, same as --exclude-ext words it.

I explicitly licence this contribution under the MIT licence.

@pr-insights pr-insights Bot added L/complexity Low complexity M/size Normal or medium sized change labels Oct 11, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

L/complexity Low complexity M/size Normal or medium sized change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant