Open
Conversation
- Format all Go files with gofmt to improve Go Report Card score - Add `make fmt` and `make fmt-check` targets to Makefile - Add pre-commit hook to check formatting before commits - Add gofmt check to CI workflow to enforce formatting in PRs - Create comprehensive golangci-lint configuration with gofmt enabled - Make pre-commit hook skip linting if golangci-lint not installed This addresses the Go Report Card score of C due to 0% gofmt compliance. All code is now properly formatted and future commits will be automatically checked for formatting issues. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
The 'check-shadowing' option is no longer valid in newer versions of golangci-lint. Updated to use the correct 'enable: [shadow]' syntax.
- Add 'make check-all' to run same checks as CI locally - Add 'make fmt-fix' to auto-fix what golangci-lint can handle - Add development setup script for contributors - Enhanced golangci-lint config with auto-fixable linters - Updated fmt target to include goimports Contributors can now: - Run 'make check-all' to catch issues before pushing - Run 'make fmt-fix' to auto-fix formatting and some lint issues - Use './scripts/setup-dev.sh' to set up development environment 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Use correct 'sections' syntax instead of deprecated 'local-prefixes'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
gofmtto improve Go Report Card score from C to AChanges
gofmtmake fmtandmake fmt-checktargets to Makefile.golangci.ymlconfigurationTest plan
make fmt-check- should passThis addresses the Go Report Card score of C due to 0% gofmt compliance. All code is now properly formatted and future commits will be automatically checked for formatting issues.
🤖 Generated with Claude Code