pre-commit hook
See original GitHub issueHey again Todd 😃 Found this repo via Google, I swear.
I’ve been using pre-commit lately and it’s pretty cool. I wonder if you think it would be useful to create a hook module for rstlint
since I have had this annoying problem several times as well. I have a lot on my plate but if you’re interested I could put something together when I get a chance. Let me know what you think.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
pre-commit
We built pre-commit to solve our hook issues. It is a multi-language package manager for pre-commit hooks. You specify a list of hooks...
Read more >Git Hooks - Git SCM
The pre-commit hook is run first, before you even type in a commit message. It's used to inspect the snapshot that's about to...
Read more >Some out-of-the-box hooks for pre-commit - GitHub
Hooks available. check-added-large-files. Prevent giant files from being committed. Specify what is "too large" with args: ['--maxkb=123'] (default=500kB).
Read more >Git Hooks | Learn how to use pre-commit hooks, post-commit ...
An introductory guide and resource for Git hooks. Learn how to use pre-commit hooks, post-commit hooks, post-receive hooks, and more.
Read more >Pre-commit Hook - Prettier
Pre-commit Hook. You can use Prettier with a pre-commit tool. This can re-format your files that are marked as “staged” via git add...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Not sure how I missed that. Meanwhile doc8 supports pre-commit and also integrates with https://marketplace.visualstudio.com/items?itemName=lextudio.restructuredtext
Refusal to add pre-commit hook seems like a good enough reason for me to avoid using this linter, even if there was a desired to add linting for that. That hook config can be found on almost all python linters and requires no maintenance at all. In fact it acts as metadata.