.rst: Auto-Fix Option?
ax3l opened this issue · 1 comments
ax3l commented
Hi,
since the detection for the groups:
- id: rst-backticks
- id: rst-directive-colons
- id: rst-inline-touching-normal
is really precise, is it possible to add an option to auto-fix the found locations? :)
asottile commented
pygrep
only does matching, replacement is out of scope for the intent of this repository
it is certainly possible to autofix in a limited subset of the detected scenarios -- but some of them are ambiguous and would require a human to decide the correct way forward based on context