-
Notifications
You must be signed in to change notification settings - Fork 312
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
Change revive cognitive-complexity settings #2316
Change revive cognitive-complexity settings #2316
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2316 +/- ##
==========================================
+ Coverage 55.03% 55.36% +0.33%
==========================================
Files 325 325
Lines 34753 34753
==========================================
+ Hits 19124 19239 +115
+ Misses 13318 13202 -116
- Partials 2311 2312 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
/cc @srstack |
/lgtm |
[LGTM Timeline notifier]Timeline:
|
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kaaaaaaang 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 problem does this PR solve?
The revive check for cognitive complexity was emitting warnings:
It looks like these warnings were not getting noticed or fixed.
What is changed and how it works?
This PR:
//revive:disable
.This makes accidentally exceeding this with new code harder.
Check List
Tests
Release notes: