-
Notifications
You must be signed in to change notification settings - Fork 8
/
.pre-commit-config.yaml
33 lines (32 loc) · 834 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
default_language_version:
python: "3.10"
repos:
- repo: https://github.com/crate-ci/typos
rev: v1.23.5
hooks:
- id: typos
exclude: _*.xml
- repo: https://github.com/psf/black
rev: 24.4.2
hooks:
- id: black
args: [ --safe, --quiet ]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: fix-encoding-pragma
args: [ --remove ]
- id: check-yaml
- id: debug-statements
language_version: python3
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.5
hooks:
- id: ruff
args: [dicom_validator, --fix, --exit-non-zero-on-fix]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.0
hooks:
- id: mypy