Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ repos:
- id: mixed-line-ending

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.16.5
rev: v0.16.5 # ruff version, keep synced with the ruff pin in pyproject.toml's testing extra
hooks:
- id: ruff-check
args: ["--fix"]
Expand All @@ -41,7 +41,7 @@ repos:
)

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.5.1 # Black version, keep synced with MONAI requirements
rev: 26.5.1 # Black version, keep synced with the black pin in pyproject.toml's testing extra
hooks:
- id: black
language_version: python3
Expand All @@ -53,7 +53,7 @@ repos:
)

- repo: https://github.com/pycqa/isort
rev: 9.0.1 # isort version, keep synced with MONAI requirements
rev: 9.0.1 # isort version, keep synced with the isort pin in pyproject.toml's testing extra
hooks:
- id: isort
name: isort (python)
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ transformers = ["transformers>=5.5.0"] # 5.x needs the transchex BertLayer/Bert
zarr = ["zarr"]
# these dependencies are for testing/building only, they aren't needed for regular use so don't appear in "all"
testing = [
"black>=26.5.1",
"black>=26.5.1", # keep in sync with the black rev in .pre-commit-config.yaml
"coverage>=5.5",
"isort>9.0.0",
"isort>9.0.0", # keep in sync with the isort rev in .pre-commit-config.yaml
"mccabe",
"packaging",
"parameterized",
Expand All @@ -171,7 +171,7 @@ testing = [
"pycodestyle",
"pyflakes",
"pyrefly>=1.0.0",
"ruff>=0.16.5",
"ruff>=0.16.5", # keep in sync with the ruff rev in .pre-commit-config.yaml
"tomli", # used in print_dependencies.py for Python<3.11
"types-PyYAML",
"types-setuptools"
Expand Down
Loading