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

Org-wide linter #625

Merged
merged 6 commits into from
Sep 11, 2024
Merged

Org-wide linter #625

merged 6 commits into from
Sep 11, 2024

Conversation

roman-khimov
Copy link
Member

No description provided.

netmap/aggregator.go:84:24                  predeclared   param min has same name as predeclared identifier

Signed-off-by: Roman Khimov <[email protected]>
object/error_test.go:22:15           errorlint     type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors
client/example_container_put_test.go:49:31  errorlint     non-wrapping format verb for fmt.Errorf. Use `%w` to format errors
netmap/network_info.go:320:73               errorlint     non-wrapping format verb for fmt.Errorf. Use `%w` to format errors

Signed-off-by: Roman Khimov <[email protected]>
reputation/trust.go:197:53             misspell      `incorect` is a misspelling of `incorrect`

Signed-off-by: Roman Khimov <[email protected]>
object/slicer/slicer_test.go:856:24  contextcheck  Non-inherited new context, use function like `context.WithXXX` instead
object/slicer/slicer_test.go:889:24  contextcheck  Non-inherited new context, use function like `context.WithXXX` instead
object/slicer/slicer_test.go:928:24  contextcheck  Non-inherited new context, use function like `context.WithXXX` instead

Signed-off-by: Roman Khimov <[email protected]>
Copy link

codecov bot commented Sep 10, 2024

Codecov Report

Attention: Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.

Project coverage is 53.93%. Comparing base (3d4a462) to head (0656ac6).
Report is 7 commits behind head on master.

Files with missing lines Patch % Lines
netmap/network_info.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #625      +/-   ##
==========================================
+ Coverage   53.90%   53.93%   +0.02%     
==========================================
  Files         164      164              
  Lines       19249    19249              
==========================================
+ Hits        10377    10381       +4     
+ Misses       8430     8426       -4     
  Partials      442      442              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@carpawell carpawell merged commit de853f3 into master Sep 11, 2024
11 checks passed
@carpawell carpawell deleted the org-linter branch September 11, 2024 09:48
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.

3 participants