sphinx-lint icon indicating copy to clipboard operation
sphinx-lint copied to clipboard

Unnecessary-parenthesis only catches a single error per line

Open A5rocks opened this issue 1 year ago • 1 comments
trafficstars

A few other rules do this too (like check_missing_colon_in_role), but take unnecessary-parenthesis as an example: because unnecessary-parenthesis runs a regex that catches a single instance, it will only catch a single instance per line.

This isn't a bug, but still makes it annoying to fix issues as things pop up one after another. Feel free to close this though.

I'd be happy to contribute this if this is something to be fixed.

A5rocks avatar Sep 16 '24 23:09 A5rocks