Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(binrw): Convert everything to binrw #19

Merged
merged 1 commit into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading