-
Notifications
You must be signed in to change notification settings - Fork 412
Create script file for easy local linting #3339
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
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3339 +/- ##
=======================================
Coverage 89.60% 89.60%
=======================================
Files 127 127
Lines 103531 103531
Branches 103531 103531
=======================================
+ Hits 92767 92770 +3
+ Misses 8064 8060 -4
- Partials 2700 2701 +1 ☔ View full report in Codecov by Sentry. |
ci/check-lint.sh
Outdated
#!/bin/sh | ||
set -e | ||
set -x | ||
rustup component add clippy |
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.
lmk if you think clippy installation should be part of the script
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.
Assuming that add clippy
is a NOP when running the script, LGTM
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.
yup, without --force it should be idempotent
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.
IMO this should keep living in CI, as we don't want to have the script mess with the local installation.
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.
LGTM
LGTM, feel free to rebase + squash and lets land this. |
c102b6c
to
46c2c81
Compare
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.
Thanks
No description provided.