Skip to content

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.

@DilumAluthge DilumAluthge changed the title Pass guideline parameters in a dict AutoMerge: Pass guideline parameters in a dict Sep 26, 2025
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.

2 participants