-
Notifications
You must be signed in to change notification settings - Fork 199
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
51 lines (45 loc) · 1.27 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
51 lines (45 loc) · 1.27 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
46
47
48
49
50
51
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- repo: https://github.com/rstcheck/rstcheck
rev: v6.2.5
hooks:
- id: rstcheck
additional_dependencies: ['rstcheck[sphinx,toml]']
args: [--ignore-languages=matlab, '--ignore-directives=automodule,autoclass,autofunction,autodata,autoevent,autointerface,autolabel,autosectionlabel,autostatus,autotoclabel']
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
- repo: local
hooks:
# Run the linter.
- id: mmh_style
name: MISS_HIT Style
entry: mh_style
language: python
args: [--fix]
additional_dependencies: [miss_hit_core]
files: \.m$
- id: mh_metric
name: MISS_HIT Metrics
entry: mh_metric
args: [--ci]
files: \.m$
language: python
additional_dependencies: [miss_hit_core]
- id: mh_lint
name: MISS_HIT Lint
entry: mh_lint
files: \.m$
language: python
additional_dependencies: [miss_hit]