-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
31 lines (31 loc) · 962 Bytes
/
.pre-commit-config.yaml
File metadata and controls
31 lines (31 loc) · 962 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
repos:
- repo: https://github.com/tateexon/pre-commit-hooks
rev: f3a26e1675b64927002fd342228e64de8d43e0fa # v0.0.2
hooks:
- id: detect-typos
- id: rust-lint
- id: rust-fmt
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # v4.6.0
hooks:
- id: detect-private-key
- id: detect-aws-credentials
args: [--allow-missing-credentials]
- id: check-added-large-files
- id: check-json
- id: check-toml
- id: end-of-file-fixer
- id: check-case-conflict
- id: check-shebang-scripts-are-executable
- id: check-merge-conflict
- id: trailing-whitespace
- id: mixed-line-ending
args: ['--fix=lf']
- repo: local
hooks:
- id: run-unit-tests
name: Run unit tests
entry: ./.githooks/run-unit-tests.sh
language: script
pass_filenames: false
stages: [pre-push]