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

add linters go vet and staticcheck #7

Merged
merged 1 commit into from
May 8, 2024

Conversation

szuecs
Copy link
Contributor

@szuecs szuecs commented May 7, 2024

fix #6

fix: staticcheck S1021
fix: valkey-io#6

Signed-off-by: Sandor Szücs <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented May 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 23.57%. Comparing base (055c177) to head (0afe1a3).

Additional details and impacted files
@@             Coverage Diff             @@
##             main       #7       +/-   ##
===========================================
- Coverage   95.59%   23.57%   -72.02%     
===========================================
  Files          81       81               
  Lines       33405    31400     -2005     
===========================================
- Hits        31935     7404    -24531     
- Misses       1269    23524    +22255     
- Partials      201      472      +271     

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

# -ST1020 violation of go doc comment on exported methods in valkeycompat
# -ST1021 violation of go doc comment on exported types in valkeycompat
# -U1000 unused check in mock package
staticcheck -checks "all,-ST1000,-ST1003,-ST1012,-ST1016,-ST1020,-ST1021,-U1000" ./... | (grep -v "_test.go:" && exit 1 || exit 0)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks! LGTM.

@rueian rueian merged commit 92698e9 into valkey-io:main May 8, 2024
11 checks passed
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.

GH action on PR and tests
3 participants