You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, and thanks for revgrep. I’ve long wanted a tool like this.
It’s not unusual for changes on one line to cause issues on other (often nearby) lines. Currently, revgrep will filter them out. I wish it had an option to match not “same file and line” but at a larger granularity. “Same file” would be a good start, but “within ±n lines” or “same directory k levels up” might be useful, too.
Hi, and thanks for revgrep. I’ve long wanted a tool like this.
It’s not unusual for changes on one line to cause issues on other (often nearby) lines. Currently, revgrep will filter them out. I wish it had an option to match not “same file and line” but at a larger granularity. “Same file” would be a good start, but “within ±n lines” or “same directory k levels up” might be useful, too.
Example:
Begin with the following
example.py
:Commit it, then change the last line to read:
Now Pylint (the usual linter in Python land) complains:
But revgrep filters it out, because it’s not on the changed line:
The text was updated successfully, but these errors were encountered: