mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-19 18:16:18 +02:00
feat(pre-commit): Add binary based install
For no additional build dependencies (besides Python >= 3.6), and faster install. The setup.py here is a copy of the one at https://github.com/shellcheck-py/shellcheck-py with changes kept at the bare minimum for future diffability. We don't support checksumming at least yet, because there's no access to them from cargo-release at the moment. Closes #285
This commit is contained in:
1 parent
e9c800b2bf
commit
867ee75b02
3 files changed
+179
-1
No files matched your search
@@ -11,6 +11,10 @@ repos:
|
||||
- id: typos
|
||||
```
|
||||
|
||||
The `typos` id installs a prebuilt executable from GitHub releases. If
|
||||
one does not exist for the target platform, or if one built from
|
||||
sources is preferred, use `typos-src` as the hook id instead.
|
||||
|
||||
Be sure to change `rev` to use the desired `typos` git tag or
|
||||
revision.
|
||||
|
||||
|
||||
Reference in new issue
Block a user