Repository navigation
Add a fifth fuzzer for '='/'<-' equivalency - #2829
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2829 +/- ##
=======================================
Coverage 99.23% 99.23%
=======================================
Files 128 128
Lines 7281 7282 +1
=======================================
+ Hits 7225 7226 +1
Misses 56 56 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Here is Gemini's review: Prompt: Use the R gh package (which is already installed) to Response: This PR is a great initiative to improve the consistency of lintr, especially regarding the handling of different assignment operators. The introduction of fuzz testing is a significant step towards making the linters more robust. The bug fix for Here are some specific points of feedback: High-level comments
Code-specific comments
Suggestions for improvement
ConclusionThis is a very strong PR that significantly improves the robustness and consistency of lintr. The fuzz testing framework is a valuable addition that will help catch bugs in the future. The suggested improvements are mostly minor and focused on improving the long-term maintainability of the code. |
|
We already know the issue with generic For "It would be good to add comments to the XPath expressions explaining the rationale", I guess it means the About a helper for 'count(*) - ...', I only see this needed in two places thus far, and the subtractand on the other one is different; I don't see a need for a helper as of now. |
|
This PR also resolves the |
Closes #2191 -- these are the 5 simple (well, 4 are simple 🙃) consistency checks I came up with. Continues #2822. Progress on #2737.
Closes #2828 too.
<-in implicit assignments is a known issue generating some false positives -->nofuzz. Alsoassignment_linter()is used in a lot of places as a "generic simple" linter, those neednofuzz too.