Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-production: add CountKeywordArgs: false to Metrics/ParameterLists… #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cgaroutte
Copy link

… cop

Per the ParameterLists documentation:

Keyword arguments can optionally be excluded from the total count, as they add less complexity than positional or optional parameters.

There are cases where it is cleaner and easier to understand several keyword arguments than to do something like pass an options hash (and you get the benefits of keyword args). I propose we exclude them from parameter count.

@cgaroutte cgaroutte requested a review from ColinDKelley March 12, 2025 20:01
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