-
Notifications
You must be signed in to change notification settings - Fork 122
Chore/normalize makefile whitespaces #909
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
Conversation
WalkthroughThe changes add a dedicated section in the Changes
Tip ⚡🧪 Multi-step agentic review comment chat (experimental)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
Makefile (1)
47-53
: Standardized Chain Configuration Variables.The chain-related variables have been reformatted to use a consistent assignment operator and spacing. Please verify that switching from
:=
to=
(as indicated by the PR objectives) does not inadvertently alter the evaluation behavior intended in the Makefile.
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
.editorconfig
(1 hunks)Makefile
(14 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (4)
- GitHub Check: test-go
- GitHub Check: analyze-go
- GitHub Check: build-docker
- GitHub Check: lint-generated
🔇 Additional comments (10)
.editorconfig (1)
32-38
: Makefile-specific EditorConfig Section Added.The new section for
[Makefile]
enforces an indent style oftab
with a tab width of 2. This configuration enhances consistency between the Makefile’s formatting and the project’s overall styling guidelines.Makefile (9)
13-13
: Normalized DOCKER_IMAGE_GOLANG Assignment.The assignment for
DOCKER_IMAGE_GOLANG
now uses a uniform single equals sign with adjusted spacing, which improves the readability of the variable declaration.
153-157
: Improved Docker Run Command Formatting inlint-go
.The docker run options for the
lint-go
target have been reformatted for better alignment and clarity. These whitespace adjustments improve readability while preserving the command’s functionality.
171-176
: Normalized Docker Run Options informat-go
.The formatting of the docker run command in the
format-go
target is now standardized—with consistent indentation for volume mounting and working directory settings—enhancing clarity without changing behavior.
202-212
: Consistent Shell Command Formatting in Cross Compilation Checks.The cross-compilation block now benefits from improved whitespace alignment. This enhances the script’s readability. Confirm that these changes do not affect the environment variable extraction or shell evaluation.
269-270
: Consistent Indentation inchain-start
Target.The command invocation for starting the chain now exhibits uniform indentation and clearer option alignment. This adjustment is purely stylistic and should not impact execution.
293-298
: Refined Command Formatting inchain-upgrade
Target.The commands updating the genesis configuration using
jq
and the subsequent cosmovisor commands have been reformatted for consistent spacing. This normalization makes the upgrade process easier to follow. Please verify that the command substitutions (e.g., with heredoc) behave as expected.
316-321
: Normalized Governance Vote Transaction Command Formatting.The governance vote transaction command now has standardized indentation and line breaks, resulting in improved legibility of the overall command sequence.
350-353
: Improved Formatting in the Documentation Generation Block.The commands setting up datasource variables (i.e.
DEFAULT_DATASOURCE
,MODULE_DATASOURCE
, andDATASOURCE
) in the documentation target have been reformatted. This clearer layout aids in maintenance and comprehension.
420-423
: Standardized Formatting in the Release Binary Target.The adjustments in the release binary block—including consistent variable assignments and echo statement formatting—enhance readability and maintain a uniform style across the Makefile.
Codecov ReportAll modified and coverable lines are covered by tests ✅ @@ Coverage Diff @@
## main #909 +/- ##
=======================================
Coverage 45.06% 45.06%
=======================================
Files 113 113
Lines 6402 6402
=======================================
Hits 2885 2885
Misses 3382 3382
Partials 135 135 🚀 New features to boost your workflow:
|
Add Makefile editor config and normalize
Makefile
whitespaces.Summary by CodeRabbit
Chores
Style