2021-08-24 02:33:31 +03:00
|
|
|
repos:
|
2021-09-21 06:01:23 +03:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2022-06-14 00:06:47 +03:00
|
|
|
rev: v4.3.0
|
2021-08-24 02:33:31 +03:00
|
|
|
hooks:
|
2021-09-21 06:01:23 +03:00
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: check-toml
|
|
|
|
- id: check-yaml
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: trailing-whitespace
|
2022-09-08 06:22:22 +03:00
|
|
|
args: [--markdown-linebreak-ext=md]
|
2021-09-21 06:01:23 +03:00
|
|
|
|
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: cargo-fmt
|
|
|
|
name: cargo fmt
|
|
|
|
entry: cargo fmt --
|
|
|
|
language: rust
|
2022-09-08 06:22:22 +03:00
|
|
|
types: [rust]
|
2022-09-02 10:03:30 +03:00
|
|
|
|
|
|
|
ci:
|
2022-09-08 06:22:22 +03:00
|
|
|
autofix_commit_msg: |
|
|
|
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
|
|
|
|
|
|
|
|
for more information, see https://pre-commit.ci
|
|
|
|
autofix_prs: true
|
|
|
|
autoupdate_branch: ""
|
|
|
|
autoupdate_commit_msg: "[pre-commit.ci] pre-commit autoupdate"
|
|
|
|
autoupdate_schedule: weekly
|
|
|
|
skip: []
|
|
|
|
submodules: false
|