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

Forbid print statements #668

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Forbid print statements #668

merged 1 commit into from
Sep 23, 2024

Conversation

SuperQ
Copy link
Member

@SuperQ SuperQ commented Sep 22, 2024

Enable forbidigo to make sure print statements are not used in this library. This avoids injecting random log output into upstream user's log formatting.

@SuperQ
Copy link
Member Author

SuperQ commented Sep 23, 2024

@ArthurSens @kakkoyun @bwplotka This might be useful for client_golang as well. There's additional configuration to limit which packages are checked, so to avoid linting the examples.

Enable `forbidigo` to make sure print statements are not used in this
library. This avoids injecting random log output into upstream user's
log formatting.

Signed-off-by: SuperQ <[email protected]>
Copy link
Member

@kakkoyun kakkoyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SuperQ SuperQ merged commit fc5df4e into master Sep 23, 2024
10 checks passed
@SuperQ SuperQ deleted the superq/no_print branch September 23, 2024 18:13
fs185143 pushed a commit to fs185143/procfs that referenced this pull request Nov 26, 2024
Enable `forbidigo` to make sure print statements are not used in this
library. This avoids injecting random log output into upstream user's
log formatting.

Signed-off-by: SuperQ <[email protected]>
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