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

[chore]: enable int-conversion rule of perfsprint #5964

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

mmorel-35
Copy link
Contributor

Description

perfsprint is a linter for performance, aiming at usages of fmt.Sprintf which have faster alternatives.

This PR enables int-conversion rule

Copy link

codecov bot commented Nov 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.6%. Comparing base (0678ffa) to head (6f2881a).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #5964   +/-   ##
=====================================
  Coverage   84.6%   84.6%           
=====================================
  Files        272     272           
  Lines      22897   22897           
=====================================
  Hits       19391   19391           
  Misses      3162    3162           
  Partials     344     344           

see 4 files with indirect coverage changes

@mmorel-35 mmorel-35 force-pushed the golangci-lint/perfsprint branch 2 times, most recently from 94207b1 to 0d48e02 Compare November 10, 2024 10:07
.golangci.yml Show resolved Hide resolved
.golangci.yml Show resolved Hide resolved
@mmorel-35 mmorel-35 force-pushed the golangci-lint/perfsprint branch from 0d48e02 to 2568616 Compare November 14, 2024 18:00
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
@mmorel-35 mmorel-35 force-pushed the golangci-lint/perfsprint branch from 2568616 to 6f2881a Compare November 14, 2024 18:01
@mmorel-35 mmorel-35 requested a review from MrAlias November 14, 2024 18:02
@pellared pellared merged commit 61e9b35 into open-telemetry:main Nov 14, 2024
32 checks passed
@mmorel-35 mmorel-35 deleted the golangci-lint/perfsprint branch November 14, 2024 18:32
@pellared pellared added this to the v1.33.0 milestone Nov 25, 2024
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.

4 participants