twolfson / restructuredtext-lint

reStructuredText linter
The Unlicense
171 stars 20 forks source link

pre-commit integration #60

Closed grintor closed 2 years ago

grintor commented 2 years ago

This repo is a great plugin for pre-commit

In fact, I first learned about it by looking at the github repo for pylint, which is already using it as a pre-commit hook here

Let's make it official and publish a .pre-commit-hooks.yaml file here to make it a native plugin.

twolfson commented 2 years ago

Hey @grintor, thanks for writing in! =)

Unfortunately, I fundamentally disagree with the architectural approach pre-commit has gone with and choose not to support it as part of my repo =/

You can read the discussion on previous issues: https://github.com/twolfson/restructuredtext-lint/pull/51 (primary), https://github.com/twolfson/restructuredtext-lint/issues/50 (secondary)

I implore you to take your positive motivation and encourage pre-commit to go the route of a centralized repository instead of burdening maintainers =)