Skip to content

Commit 7e78ec1

Browse files
authored
Merge pull request #16 from ImagingDataCommons/pre-commit-ci-update-config
chore: update pre-commit hooks
2 parents af851c9 + f047dec commit 7e78ec1

3 files changed

Lines changed: 14 additions & 14 deletions

File tree

.pre-commit-config.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ ci:
44

55
repos:
66
- repo: https://github.com/adamchainz/blacken-docs
7-
rev: "1.16.0"
7+
rev: "1.20.0"
88
hooks:
99
- id: blacken-docs
1010
additional_dependencies: [black==24.*]
1111

1212
- repo: https://github.com/pre-commit/pre-commit-hooks
13-
rev: "v4.5.0"
13+
rev: "v6.0.0"
1414
hooks:
1515
- id: check-added-large-files
1616
- id: check-case-conflict
@@ -33,27 +33,27 @@ repos:
3333
- id: rst-inline-touching-normal
3434

3535
- repo: https://github.com/pre-commit/mirrors-prettier
36-
rev: "v3.1.0"
36+
rev: "v4.0.0-alpha.8"
3737
hooks:
3838
- id: prettier
3939
types_or: [yaml, markdown, html, css, scss, javascript, json]
4040
args: [--prose-wrap=always]
4141

4242
- repo: https://github.com/astral-sh/ruff-pre-commit
43-
rev: "v0.3.0"
43+
rev: "v0.15.8"
4444
hooks:
4545
- id: ruff
4646
args: ["--fix", "--show-fixes"]
4747
- id: ruff-format
4848

4949
- repo: https://github.com/pre-commit/mirrors-clang-format
50-
rev: "v17.0.6"
50+
rev: "v22.1.2"
5151
hooks:
5252
- id: clang-format
5353
types_or: [c++, c, cuda]
5454

5555
- repo: https://github.com/pre-commit/mirrors-mypy
56-
rev: "v1.8.0"
56+
rev: "v1.19.1"
5757
hooks:
5858
- id: mypy
5959
files: src|tests
@@ -62,12 +62,12 @@ repos:
6262
- pytest
6363

6464
- repo: https://github.com/codespell-project/codespell
65-
rev: "v2.2.6"
65+
rev: "v2.4.2"
6666
hooks:
6767
- id: codespell
6868

6969
- repo: https://github.com/shellcheck-py/shellcheck-py
70-
rev: "v0.9.0.6"
70+
rev: "v0.11.0.1"
7171
hooks:
7272
- id: shellcheck
7373

@@ -85,13 +85,13 @@ repos:
8585
# - id: cmake-format
8686

8787
- repo: https://github.com/abravalheri/validate-pyproject
88-
rev: "v0.16"
88+
rev: "v0.25"
8989
hooks:
9090
- id: validate-pyproject
9191
additional_dependencies: ["validate-pyproject-schema-store[all]"]
9292

9393
- repo: https://github.com/python-jsonschema/check-jsonschema
94-
rev: "0.28.0"
94+
rev: "0.37.1"
9595
hooks:
9696
- id: check-dependabot
9797
- id: check-github-workflows

src/dcmqi/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616

1717
__all__ = [
1818
"__version__",
19+
"itkimage2paramap",
1920
"itkimage2segimage",
21+
"paramap2itkimage",
2022
"segimage2itkimage",
21-
"tid1500writer",
2223
"tid1500reader",
23-
"itkimage2paramap",
24-
"paramap2itkimage",
24+
"tid1500writer",
2525
]
2626

2727

tests/test_executable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
)
2525

2626
all_tools_version = pytest.mark.parametrize(
27-
"tool,expected_version",
27+
("tool", "expected_version"),
2828
[
2929
("itkimage2segimage", "1.0"),
3030
("segimage2itkimage", "1.0"),

0 commit comments

Comments
 (0)