-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable pre-commit to use cargo-spellcheck #203
Conversation
Hey @hunger - could you extract an issue and what exactly causes the issue? How common is |
No idea how common pre-commit actually is. I personally use it a lot since it makes it easy to have very similar git hooks across different machines. Pre-commit grabs and installs everything it needs and supports a wide range of tasks for a wide range of languages:-) Where should I put the documentation? Into a newly created docs dir? I would remove the git hook section from the readme and put a link to the separate document into place if that is OK. The issue is that pre-commit fails to build due to detecting dead code. I have not checked where that deny comes from though, I just removed that dead code in my local checkout. |
yeah, adding a Could you add an issue regarding the dead code preventing it to be used with |
The build failure is now reported as #206 |
I moved the CI/CD and git hook section into one "automation.md" file. You can view them in my fork: |
Merged #206 , could you rebase your changes and force push to this PR? Thank you! |
Enable [pre-commit](https://pre-commit.com/) to use cargo-spellcheck
Sure, here you go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm! Thank you!
Other than that, LGTM! |
I can go over the docs and move some things into the docs folder, but that should probably go into a different PR. |
Yeah, that sounds good. I merged your changes as part of #211 and did a reflow to adhere to the width checks via: cargo spellcheck reflow README.md Thanks again for your PRs, looking forward to more of them |
pre-commit is a rather convenient way to manage git hooks.
This PR enables to use cargo-spellcheck from pre-commit. I added some information on how to do so into README.md.
Notes to reviewer:
pre-commit will unfortunately fail building cargo-spellcheck at this time:
But this should be unrelated to this PR.
馃摐 Checklist
./demo
sub directoryNone of these applies I think.