Closed mcarans closed 3 months ago
ruff
is a "Python linter and code formatter", so I doubt that it would try to format your text files, etc.
Hey, thanks for using Ruff!
I believe those hooks work on any type of files while Ruff is primarily focused on Python files. I don't think this is in our current scope.
I am using some pre-commit-hooks along with ruff. Can ruff already do what those pre-commit hooks (trailing-whitespace, end-of-file-fixer and check-ast) do? If so, how do I configure the ruff pre-commit to replace any or all of those hooks?