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 golangci lint #35

Merged
merged 12 commits into from
Jan 28, 2024
Merged

Add golangci lint #35

merged 12 commits into from
Jan 28, 2024

Conversation

elezar
Copy link
Member

@elezar elezar commented Jan 28, 2024

This adds golangci-lint and addresses the issues found.

Closes #34

@elezar elezar self-assigned this Jan 28, 2024
@elezar
Copy link
Member Author

elezar commented Jan 28, 2024

This includes the change from #32 and that should be merged first.

@elezar elezar marked this pull request as ready for review January 28, 2024 13:45
@elezar elezar force-pushed the add-golangci-lint branch 2 times, most recently from 724d83f to 912abc3 Compare January 28, 2024 14:42

coverage: test
cat $(COVERAGE_FILE) | grep -v "_mock.go" > $(COVERAGE_FILE).no-mocks
go tool cover -func=$(COVERAGE_FILE).no-mocks

generate:
Copy link
Collaborator

Choose a reason for hiding this comment

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

...? is this needed for the PR ref? (add golangci-lint)

Copy link
Member Author

Choose a reason for hiding this comment

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

No, but id does align the makefile with other projects.

Copy link
Collaborator

@ArangoGutierrez ArangoGutierrez left a comment

Choose a reason for hiding this comment

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

/lgtm

@elezar elezar merged commit 0c72835 into NVIDIA:main Jan 28, 2024
5 checks passed
@elezar elezar deleted the add-golangci-lint branch January 28, 2024 15:49
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.

Enable golangci-lint in repo
2 participants