-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(binrw): Convert everything to binrw
Signed-off-by: dark0dave <dark0dave@mykolab.com>
- Loading branch information
Showing
28 changed files
with
758 additions
and
365 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,64 @@ | ||
default_install_hook_types: [pre-commit, commit-msg] | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.5.0 | ||
rev: v4.6.0 | ||
hooks: | ||
- id: check-added-large-files | ||
args: ['--maxkb=5000'] | ||
- id: check-builtin-literals | ||
- id: check-byte-order-marker | ||
exclude: (?x)^([models/fixtures|docs]) | ||
stages: [pre-commit] | ||
- id: check-case-conflict | ||
stages: [pre-commit] | ||
- id: check-merge-conflict | ||
stages: [pre-commit] | ||
- id: detect-private-key | ||
stages: [pre-commit] | ||
- id: forbid-new-submodules | ||
stages: [pre-commit] | ||
- id: check-builtin-literals | ||
stages: [pre-commit] | ||
- id: check-yaml | ||
stages: [pre-commit] | ||
|
||
- repo: https://github.com/jumanjihouse/pre-commit-hooks | ||
rev: 3.0.0 | ||
hooks: | ||
- id: git-dirty | ||
- id: forbid-binary | ||
exclude: > | ||
(?x)^( | ||
models/fixtures/.*?|docs/.*? | ||
)$ | ||
stages: [pre-commit] | ||
exclude: (?x)^([models/fixtures|docs]) | ||
- id: git-dirty | ||
stages: [pre-commit] | ||
|
||
- repo: https://github.com/commitizen-tools/commitizen | ||
rev: v3.18.4 | ||
rev: v3.27.0 | ||
hooks: | ||
- id: commitizen | ||
stages: [commit-msg] | ||
|
||
- repo: https://github.com/doublify/pre-commit-rust | ||
rev: v1.0 | ||
hooks: | ||
- id: fmt | ||
stages: [pre-commit] | ||
- id: cargo-check | ||
stages: [pre-commit] | ||
- id: clippy | ||
- id: fmt | ||
stages: [pre-commit] | ||
|
||
- repo: local | ||
hooks: | ||
- id: cargo-test | ||
stages: [pre-commit] | ||
name: cargo test | ||
description: Run the test suite | ||
entry: cargo test --workspace | ||
language: system | ||
types: [rust] | ||
pass_filenames: false | ||
|
||
- repo: https://github.com/codespell-project/codespell | ||
rev: v2.3.0 | ||
hooks: | ||
- id: codespell | ||
stages: [pre-commit] | ||
args: | ||
- '--ignore-words-list=crate,sav,SAV,ser,extention' |
Oops, something went wrong.