Skip to content

dev: remove unused ctx parameter from Printer #3758

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

Closed
wants to merge 1 commit into from

Conversation

alexandear
Copy link
Member

This PR removes ctx parameter from the Printer.Print method because it's not used in any of the printers.
Also, enable revive unused-parameter rule for detecting this. And fix occurred issues in other files.

@CLAassistant
Copy link

CLAassistant commented Apr 3, 2023

CLA assistant check
All committers have signed the CLA.

Also, enable revive `unused-parameter` rule for detecting this.
And fix occurred issues in other files.
@alexandear alexandear force-pushed the remove-ctx-printer branch from e27a44f to 53a3b23 Compare April 3, 2023 08:45
@ldez ldez self-requested a review April 3, 2023 09:23
@ldez ldez added the topic: cleanup Related to code, process, or doc cleanup label Apr 3, 2023
@ldez
Copy link
Member

ldez commented Apr 3, 2023

Can you use a fork, thank you.

#3593 (comment)
#3584 (comment)

@ldez ldez closed this Apr 3, 2023
@ldez ldez added the declined label Apr 3, 2023
@alexandear alexandear deleted the remove-ctx-printer branch April 4, 2023 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
declined topic: cleanup Related to code, process, or doc cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants