Skip to content

refactor: keyword-only CLI and report args - #83

Merged
danthompson merged 1 commit into
mainfrom
refactor/keyword-only-parameters
Nov 23, 2026
Merged

danthompson merged 1 commit into
mainfrom
refactor/keyword-only-parameters

Conversation

@danthompson

Copy link
Copy Markdown
Member

ruff 0.16 stabilized PLR0917 (too many positional arguments), which flags check and rule in __main__.py and report in reporter.py and fails lint on the ruff 0.17 bump (#79). This makes their trailing parameters keyword-only.

  • No caller changes: click passes command options by keyword, and every report() call already passes keywords.
  • Lint passes on both the current ruff 0.15 and ruff 0.17, so the bump can merge without a new suppression.

Once this merges, @dependabot rebase on #79 should pass lint.

Refs #79

ruff 0.16 stabilized PLR0917 (too many positional arguments), which
flags check, rule, and report. Click passes callback options by
keyword and every report() caller already does, so no call changes.
@danthompson
danthompson merged commit 1d3f200 into main Nov 23, 2026
5 checks passed
@danthompson
danthompson deleted the refactor/keyword-only-parameters branch November 23, 2026 19:16
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.

1 participant