Skip to content

Enable perfsprint linter#14092

Closed
tesla59 wants to merge 2 commits intoprometheus:mainfrom
tesla59:tesla/perf-linter
Closed

Enable perfsprint linter#14092
tesla59 wants to merge 2 commits intoprometheus:mainfrom
tesla59:tesla/perf-linter

Conversation

@tesla59
Copy link
Copy Markdown
Contributor

@tesla59 tesla59 commented May 13, 2024

The PR enabled perfsprint linter and fixes all errors generated by it
fixes #13668

@beorn7
Copy link
Copy Markdown
Member

beorn7 commented May 15, 2024

#14091 was submitted slightly before this, and it already passes all CI tests. I'll review #14091 and close this one.

@tesla59 you also addressed concatenation and Errorf here (in contrast to #14091). If you feel that should still be done, let's discuss.

@beorn7 beorn7 closed this May 15, 2024
@beorn7
Copy link
Copy Markdown
Member

beorn7 commented May 15, 2024

OK, looks like #14091 excluded the string concatenation case mainly because there were so many instances of it.

@tesla59 maybe there is an easy way to salvage this PR to handle all the string concatenation cases. I would recommend to get in touch with @alexandear to avoid working in parallel again.

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.

strconv will be better to fmt

2 participants