forked from isaac-for-healthcare/i4h-workflows
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
52 lines (51 loc) · 1.29 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
52 lines (51 loc) · 1.29 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
52
ci:
autofix_prs: true
autoupdate_commit_msg: '[pre-commit.ci] pre-commit suggestions'
autoupdate_schedule: quarterly
repos:
# pre-commit hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-merge-conflict
- id: trailing-whitespace
- id: check-yaml
- id: end-of-file-fixer
exclude: '\.svg$'
- id: mixed-line-ending
# ruff
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.2
hooks:
- id: ruff-format
exclude: |
(?x)^(
workflows/telesurgery/cmake/pybind11/__init__.py
)$
- id: ruff
args: [--fix]
exclude: |
(?x)^(
workflows/telesurgery/cmake/pybind11/__init__.py
)$
# isort
- repo: https://github.com/pycqa/isort
rev: 6.0.0
hooks:
- id: isort
name: isort (python)
# codespell
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
- id: codespell
exclude: '\.svg$'
additional_dependencies:
- tomli
# markdownlint
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.47.0
hooks:
- id: markdownlint
args: [--fix, --config, .markdownlint.yaml]
files: ^.*\.md$