forked from imr-framework/pypulseq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
39 lines (35 loc) · 996 Bytes
/
.pre-commit-config.yaml
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
default_language_version:
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-added-large-files
exclude: ^pypulseq/tests/expected_output/pulseq_calcAdcSeg.txt
# - id: check-docstring-first
- id: check-merge-conflict
- id: check-yaml
- id: check-toml
- id: check-json
exclude: ^.vscode/
- id: mixed-line-ending
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.9
hooks:
- id: ruff # linter
args: [--fix]
- id: ruff-format # formatter
- repo: https://github.com/crate-ci/typos
rev: v1.25.0
hooks:
- id: typos
exclude: ^pypulseq/seq_examples/|paper.md
ci:
autofix_commit_msg: |
[pre-commit] auto fixes from pre-commit hooks
autofix_prs: true
autoupdate_branch: ""
autoupdate_commit_msg: "[pre-commit] pre-commit autoupdate"
autoupdate_schedule: monthly
skip: []
submodules: false