-
-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
45 lines (43 loc) · 1.03 KB
/
.pre-commit-config.yaml
File metadata and controls
45 lines (43 loc) · 1.03 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
fail_fast: true
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-yaml
- id: check-toml
- id: end-of-file-fixer
exclude: 'benches/.*\.json'
- id: trailing-whitespace
- id: check-added-large-files
- repo: local
hooks:
- id: format-check
name: Format Check
entry: cargo fmt
types: [rust]
language: system
pass_filenames: false
- id: clippy
name: Clippy
entry: cargo clippy -F python --workspace --all-targets -- -D warnings
types: [rust]
language: system
pass_filenames: false
- id: lint-python
name: Lint python
entry: make lint-python
types: [python]
language: system
pass_filenames: false
- id: check-without-num-bigint
name: Check without num-bigint feature
entry: cargo check --no-default-features --package jiter
types: [rust]
language: system
pass_filenames: false
- id: test
name: Test
entry: cargo test --test main
types: [rust]
language: system
pass_filenames: false