-
Notifications
You must be signed in to change notification settings - Fork 195
allow_lazy argument for implicit_assignment_linter to skip lazy assignment #2140
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 Report
@@ Coverage Diff @@
## main #2140 +/- ##
=======================================
Coverage 99.64% 99.64%
=======================================
Files 112 112
Lines 5122 5124 +2
=======================================
+ Hits 5104 5106 +2
Misses 18 18
|
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.
Not sure if lazy assignment in an || expression can be useful. LGTM, though.
I found at least 50 cases using it in whatever repos I have cloned locally, here's a neat example: |
Closes #2016.