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

ishard: maintenance #207

Merged
merged 1 commit into from
Jan 16, 2025
Merged

ishard: maintenance #207

merged 1 commit into from
Jan 16, 2025

Conversation

Nahemah1022
Copy link
Collaborator

* add make for ishard binary executable
* refractor CLI config parsing
* extend test cases

@alex-aizman
Copy link
Member

  1. Lint it:
$ cd cmd/ishard/
$ make lint
Running lint cmd/ishard...
ishard/config/sample.go:30:1: File is not properly formatted (gci)
        ErrorPrefix = "[Error]"
^
  1. Sign the commit

  2. Try to remove nolint:

ishard/ishard_test.go:33:       fileSize int64, sampleKeyPattern config.SampleKeyPattern, randomize, dropout bool) { //nolint:unparam // dropout to be implemented
  1. Let know when ready to be merged.

@@ -129,6 +129,11 @@ cli-autocompletions: ## Add CLI autocompletions
@echo "Adding CLI autocomplete..."
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've fixed all lint errors and added the ishard lint check to the main Makefile. also added ishard installing guide to the README in /cmd directory. should be ready to merge.

@Nahemah1022 Nahemah1022 force-pushed the main branch 2 times, most recently from 4886998 to a1eb921 Compare January 15, 2025 21:30
* add make for the binary executable and lint
* refactor CLI config parsing
* extend test cases
* update docs

Signed-off-by: Alex Aizman <[email protected]>
@alex-aizman alex-aizman merged commit f861be3 into NVIDIA:main Jan 16, 2025
21 of 22 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.

2 participants