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

enable auto-fix as feature/flag

Open Borda opened this issue 1 year ago • 0 comments
trafficstars

When used together with pre-commit inspired by Black or Ruff, it would be great if this lint doe example could carry some safe/trivial fixes:

  • trailing whitespace
  • No newline at end of file
  • horizontal-tab (maybe)

otherwise, when you want to apply lint to a small/existing project, it could be quite time-consuming; see for example https://github.com/sphinx-gallery/sphinx-gallery/pull/1266

Borda avatar Mar 08 '24 10:03 Borda