-
Notifications
You must be signed in to change notification settings - Fork 460
update .pre-commit config #5213
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
|
Skipping CI for Draft Pull Request. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5213 +/- ##
=======================================
Coverage 52.98% 52.98%
=======================================
Files 273 273
Lines 29197 29197
=======================================
Hits 15469 15469
Misses 12926 12926
Partials 802 802 ☔ View full report in Codecov by Sentry. |
- remove lint checks since we run at PRs - remove lint checks since we run verify job - switch shellcheck to latest - update .pre-commit with the latest versions of the binaries
6aaeedf to
eb8a272
Compare
|
/cc @mboersma |
|
/retest |
|
I don't understand why we're removing these checks. They were also run in CI against PRs when we introduced the pre-commit hooks. In my opinion, the value of a pre-commit is to force me to run local tests rather than just push my code to GitHub and see what happens. That's expensive and sloppy. It's always a tradeoff between time and thoroughness. I gather most of the team hasn't been using the pre-commit as is because it takes too long. But for me, if we're not going to run those |
Good point. Speaking with the team overtime, I deduced that some folks don't use pre-commit because it slowed down their workflow. On the flip side, yes, we will not run the verify jobs ( To me, I would wanna know about errors from That being said, I am happy to revert my changes and just update the pre-commit hook's versions. |
I agree with that. 👍🏻 From my point of view, this just means I will need to remember to run |
mboersma
left a comment
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
/assign @jackfrancis
|
LGTM label has been added. Git tree hash: 5055855a37007d48ab7b0cd3c2367065cbb0846a
|
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jackfrancis The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
.pre-commit. We can remove them.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Special notes for your reviewer:
TODOs:
Release note: