Skip to content

Commit

Permalink
feat(binrw): Convert everything to binrw
Browse files Browse the repository at this point in the history
Signed-off-by: dark0dave <dark0dave@mykolab.com>
  • Loading branch information
dark0dave committed Aug 7, 2024
1 parent a31e92d commit e4b173b
Show file tree
Hide file tree
Showing 28 changed files with 758 additions and 365 deletions.
51 changes: 40 additions & 11 deletions .pre-commit-config.yaml
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'
Loading

0 comments on commit e4b173b

Please sign in to comment.