Skip to content

Commit

Permalink
Update black
Browse files Browse the repository at this point in the history
  • Loading branch information
phcerdan committed Feb 12, 2024
1 parent 418b0cb commit 30d6059
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repos:
args: [--fix, --exit-non-zero-on-fix]

- repo: https://github.com/psf/black
rev: 23.7.0
rev: 24.2.0
hooks:
- id: black
args: [--target-version=py310]
Expand Down
6 changes: 3 additions & 3 deletions mdai_utils/download_annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,9 @@ def get_dicom_names_ordered_and_metadata(dicom_dir):
sop_instances_uids_ordered_by_index = [
uid for _, uid in dicom_names_with_uid_ordered
]
metadict_volume[
"sop_instances_uids_ordered_by_index"
] = sop_instances_uids_ordered_by_index
metadict_volume["sop_instances_uids_ordered_by_index"] = (
sop_instances_uids_ordered_by_index
)

return dicom_names_with_uid_ordered, metadict_volume

Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
black>=23.7.0
black>=24.2.0
isort>=5.12.0
pre-commit>=3.4
pip-tools>=7.3.0
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# pip-compile requirements-dev.in
#
black==23.9.1
black==24.2.0
# via -r requirements-dev.in
build==1.0.3
# via
Expand Down

0 comments on commit 30d6059

Please sign in to comment.