-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
43 lines (39 loc) · 978 Bytes
/
.pre-commit-config.yaml
File metadata and controls
43 lines (39 loc) · 978 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
32
33
34
35
36
37
38
39
40
41
42
43
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-toml
- id: check-merge-conflict
- id: end-of-file-fixer
- id: no-commit-to-branch
args: [--branch, main]
- id: trailing-whitespace
- repo: local
hooks:
- id: docstub
name: Generate stub files
entry: docstub run src/arviz_base
language: system
types: [python]
pass_filenames: false
stages: [manual]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.16.1'
hooks:
- id: mypy
name: Check static typing
entry: mypy src tests
pass_filenames: false
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.13
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
types: [ python ]
- id: ruff-format
types: [ python ]
- repo: https://github.com/MarcoGorelli/madforhooks
rev: 0.4.1
hooks:
- id: no-print-statements