-
Notifications
You must be signed in to change notification settings - Fork 92
/
.pre-commit-config.yaml
39 lines (37 loc) · 1.08 KB
/
.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
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.2
hooks:
- id: ruff
name: ruff mne_bids/
files: ^mne_bids/
args: ["--fix"]
- id: ruff
name: ruff examples/
# D103: missing docstring in public function
# D400: docstring first line must end with period
# D205: 1 blank line required between summary line and description
args: ["--ignore=D103,D400,D205"]
files: ^examples/
- id: ruff-format
name: ruff format mne_bids/
files: ^mne_bids/
- id: ruff-format
name: ruff format examples/
files: ^examples/
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-json
- id: check-ast
- id: check-added-large-files
- id: check-case-conflict
- id: check-docstring-first
- repo: https://github.com/pappasam/toml-sort
rev: v0.24.2
hooks:
- id: toml-sort-fix
files: pyproject.toml