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

Pass guideline parameters in a dict #507

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

MarkNahabedian
Copy link
Contributor

This change simplifies the passing of paramneters from the various Guidelines from run down to the various Guideline.checkfunctions.

Such parameters no longer need to be explicitly declared and passed through in various functions like pull_request_build.

The current passing of parameters for existing guidelines has not yet been changed. I could do that work in separate PRs if the package commiters encourage it.

This change was tested in the guideline_linecounts_meet_thresholds branch of my fork, which introduces a new guideline. The unit tests ran to completion. The unit test for the new guideline succeeded.

MarkNahabedian and others added 2 commits April 28, 2023 12:34
…rough to each Guideline check! function so that each parameter doesn't need to be plumbed through separately.
@DilumAluthge DilumAluthge changed the title Pass guiedline parameters in a dict Pass guideline parameters in a dict Apr 30, 2023
@MarkNahabedian
Copy link
Contributor Author

Huh? Is there something I need to do?

I think this PR is awaiting review.

@DilumAluthge
Copy link
Member

@ericphanson and/or @GunnarFarneback Can you review this?

@MarkNahabedian
Copy link
Contributor Author

I despair of anyone ever reviewing this.

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.

None yet

2 participants