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 #131

Merged
merged 4 commits into from
Sep 11, 2024
Merged

Org-wide linter #131

merged 4 commits into from
Sep 11, 2024

Conversation

roman-khimov
Copy link
Member

No description provided.

dbft.go:703:18                               durationcheck  Multiplication of durations: `count * d.SecondsPerBlock`

Signed-off-by: Roman Khimov <[email protected]>
internal/consensus/amev_block.go:39:44       misspell    `transations` is a misspelling of `transitions`

Signed-off-by: Roman Khimov <[email protected]>
helpers.go:50:2                              exhaustive  missing cases in switch of type dbft.MessageType: dbft.RecoveryRequestType, dbft.RecoveryMessageType
internal/consensus/recovery_message.go:39:2  exhaustive  missing cases in switch of type dbft.MessageType: dbft.RecoveryRequestType, dbft.RecoveryMessageType

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

codecov bot commented Sep 10, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 59.19%. Comparing base (212d176) to head (aab1cf6).
Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
helpers.go 0.00% 1 Missing ⚠️
internal/consensus/recovery_message.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #131      +/-   ##
==========================================
- Coverage   59.25%   59.19%   -0.07%     
==========================================
  Files          32       32              
  Lines        1831     1833       +2     
==========================================
  Hits         1085     1085              
- Misses        665      667       +2     
  Partials       81       81              

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

Copy link
Member

@AnnaShaleva AnnaShaleva left a comment

Choose a reason for hiding this comment

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

Otherwise LGTM.

.gitignore Show resolved Hide resolved
@AnnaShaleva AnnaShaleva merged commit 6191d39 into master Sep 11, 2024
9 of 12 checks passed
@AnnaShaleva AnnaShaleva deleted the org-linter branch September 11, 2024 05:13
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