Repository navigation
New terminal_close_linter - #2276
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2276 +/- ##
=======================================
Coverage 99.63% 99.63%
=======================================
Files 114 114
Lines 5258 5258
=======================================
Hits 5239 5239
Misses 19 19 ☔ View full report in Codecov by Sentry. |
|
Is this vectorized to detect multiple (trailing) |
Not now... can't say I've encountered that either. I would reserve for a follow-up if needed. |
|
All right. Can we add a metadata test here as well? Maybe with an example containing two close statements to show which one lints? |
SG. Any opinion on |
|
Hmm not sure where this might go. I can imagine a My gut feeling says let's keep the name for now and see to deprecating / renaming if and when the need arises. |
Part of #884
We might consider renaming this to just
close_linter(), to flexibility in the future for more lints associated with use ofclose(). E.g., we might make this stricter by default and require allclose()calls to be insideon.exit()hooks.