Skip to content

Commit 5333449

Browse files
authored
Merge branch 'dev' into 7951-anchors-are-not-centered-on-grid-cells
2 parents 8f6e2c7 + 3bb9d8e commit 5333449

377 files changed

Lines changed: 10208 additions & 3079 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.coderabbit.yaml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
2+
3+
# This file configures CodeRabbit with the various options described in https://docs.coderabbit.ai/configure-coderabbit.
4+
# CodeRabbit also has a set of commands here: https://docs.coderabbit.ai/guides/commands/
5+
6+
language: "en-US"
7+
early_access: false
8+
tone_instructions: "Be terse and to the point in all statements and commentary."
9+
reviews:
10+
# chill is less verbose, assertive is more verbose with more nitpick feedback
11+
profile: chill
12+
high_level_summary: false
13+
high_level_summary_placeholder: "@coderabbitai summary"
14+
sequence_diagrams: false
15+
auto_apply_labels: false
16+
suggested_reviewers: false
17+
changed_files_summary: false
18+
suggested_labels: false
19+
abort_on_close: true
20+
poem: false
21+
path_instructions:
22+
- path: '**/*.md'
23+
instructions: Remember that documentation must be updated with the latest information.
24+
- path: '**/*.rst'
25+
instructions: Remember that documentation must be updated with the latest information.
26+
- path: '**/*.py'
27+
instructions: >-
28+
Review the Python code for quality and correctness. Ensure variable names adhere to PEP8 style guides, are
29+
sensible and informative in regards to their function, though permitting simple names for loop and comprehension
30+
variables. Ensure routine names are meaningful in regards to their function and use verbs, adjectives, and
31+
nouns in a semantically appropriate way. Docstrings should be present for all definition which describe each
32+
variable, return value, and raised exception in the appropriate section of the Google-style of docstrings.
33+
Examine code for logical error or inconsistencies, and suggest what may be changed to addressed these. Suggest
34+
any enhancements for code improving efficiency, maintainability, comprehensibility, and correctness. Ensure new
35+
or modified definitions will be covered by existing or new unit tests.
36+
37+
auto_review:
38+
# Automatic Review | Automatic code review
39+
enabled: true
40+
# Review draft PRs/MRs.
41+
drafts: false
42+
# ignore PRs with these in the title, these sorts of PRs should be drafts anyway
43+
ignore_title_keywords:
44+
- "WIP"
45+
- "DO NOT MERGE"
46+
47+
# opt out for now until it's clear this isn't too much info and is useful
48+
knowledge_base:
49+
opt_out: true
50+
51+
# chat is allowed
52+
chat:
53+
auto_reply: true

.dockerignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@
33
__pycache__/
44
docs/
55

6+
.vscode
7+
.git
8+
.mypy_cache
9+
.ruff_cache
10+
.pytype
611
.coverage
712
.coverage.*
813
.coverage/
914
coverage.xml
1015
.readthedocs.yml
11-
*.toml
1216

1317
!README.md

.github/workflows/chatops.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: dispatch
13-
uses: peter-evans/slash-command-dispatch@v4.0.0
13+
uses: peter-evans/slash-command-dispatch@v5.0.2
1414
with:
1515
token: ${{ secrets.PR_MAINTAIN }}
1616
reaction-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@v6
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v3
45+
uses: github/codeql-action/init@v4
4646
with:
4747
languages: ${{ matrix.language }}
4848
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -72,4 +72,4 @@ jobs:
7272
BUILD_MONAI=1 ./runtests.sh --build
7373
7474
- name: Perform CodeQL Analysis
75-
uses: github/codeql-action/analyze@v3
75+
uses: github/codeql-action/analyze@v4

.github/workflows/conda.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,18 @@ jobs:
2121
os: [ubuntu-latest]
2222
python-version: ["3.9", "3.10"]
2323
runs-on: ${{ matrix.os }}
24+
timeout-minutes: 46 # equal to max + 3*std over the last 600 successful runs
2425
env:
2526
QUICKTEST: True
2627
steps:
2728
- if: runner.os == 'windows'
2829
name: Config pagefile (Windows only)
29-
uses: al-cheb/configure-pagefile-action@v1.4
30+
uses: al-cheb/configure-pagefile-action@v1.5
3031
with:
3132
minimum-size: 8GB
3233
maximum-size: 16GB
3334
disk-root: "D:"
34-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@v6
3536
- name: Clean up disk space
3637
run: |
3738
find /opt/hostedtoolcache/* -maxdepth 0 ! -name 'Python' -exec rm -rf {} \;

.github/workflows/cron-ngc-bundle.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ jobs:
1717
if: github.repository == 'Project-MONAI/MONAI'
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v6
2121
- name: Set up Python 3.9
22-
uses: actions/setup-python@v5
22+
uses: actions/setup-python@v6
2323
with:
2424
python-version: '3.9'
2525
- name: cache weekly timestamp
2626
id: pip-cache
2727
run: echo "datew=$(date '+%Y-%V')" >> $GITHUB_OUTPUT
2828
- name: cache for pip
29-
uses: actions/cache@v4
29+
uses: actions/cache@v5
3030
id: cache
3131
with:
3232
path: ~/.cache/pip

.github/workflows/cron.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
options: "--gpus all"
3333
runs-on: [self-hosted, linux, x64, common]
3434
steps:
35-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@v6
3636
- name: apt install
3737
run: |
3838
apt-get update
@@ -82,7 +82,7 @@ jobs:
8282
options: "--gpus all"
8383
runs-on: [self-hosted, linux, x64, integration]
8484
steps:
85-
- uses: actions/checkout@v4
85+
- uses: actions/checkout@v6
8686
- name: Install APT dependencies
8787
run: |
8888
apt-get update
@@ -131,7 +131,7 @@ jobs:
131131
options: "--gpus all"
132132
runs-on: [self-hosted, linux, x64, integration]
133133
steps:
134-
- uses: actions/checkout@v4
134+
- uses: actions/checkout@v6
135135
with:
136136
fetch-depth: 0
137137
- name: Install the dependencies
@@ -233,7 +233,7 @@ jobs:
233233
options: "--gpus all --ipc=host"
234234
runs-on: [self-hosted, linux, x64, integration]
235235
steps:
236-
- uses: actions/checkout@v4
236+
- uses: actions/checkout@v6
237237
- name: Install MONAI
238238
id: monai-install
239239
run: |

.github/workflows/docker.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121
if: ${{ false }} # disable docker build job project-monai/monai#7450
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v6
2525
# full history so that we can git describe
2626
with:
2727
ref: dev
2828
fetch-depth: 0
2929
- name: Set up Python 3.9
30-
uses: actions/setup-python@v5
30+
uses: actions/setup-python@v6
3131
with:
3232
python-version: '3.9'
3333
- shell: bash
@@ -37,7 +37,7 @@ jobs:
3737
python setup.py build
3838
cat build/lib/monai/_version.py
3939
- name: Upload version
40-
uses: actions/upload-artifact@v4
40+
uses: actions/upload-artifact@v6
4141
with:
4242
name: _version.py
4343
path: build/lib/monai/_version.py
@@ -53,11 +53,11 @@ jobs:
5353
needs: versioning_dev
5454
runs-on: ubuntu-latest
5555
steps:
56-
- uses: actions/checkout@v4
56+
- uses: actions/checkout@v6
5757
with:
5858
ref: dev
5959
- name: Download version
60-
uses: actions/download-artifact@v4
60+
uses: actions/download-artifact@v6
6161
with:
6262
name: _version.py
6363
- name: docker_build

.github/workflows/integration.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: [self-hosted, linux, x64, command]
1414
steps:
1515
# checkout the pull request branch
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717
with:
1818
token: ${{ secrets.PR_MAINTAIN }}
1919
repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }}
@@ -22,7 +22,7 @@ jobs:
2222
id: pip-cache
2323
run: echo "datew=$(date '+%Y-%V')" >> $GITHUB_OUTPUT
2424
- name: cache for pip
25-
uses: actions/cache@v4
25+
uses: actions/cache@v5
2626
id: cache
2727
with:
2828
path: |
@@ -74,7 +74,7 @@ jobs:
7474
run: ./runtests.sh --build --net
7575

7676
- name: Add reaction
77-
uses: peter-evans/create-or-update-comment@v4
77+
uses: peter-evans/create-or-update-comment@v5
7878
with:
7979
token: ${{ secrets.PR_MAINTAIN }}
8080
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
@@ -89,7 +89,7 @@ jobs:
8989
runs-on: [self-hosted, linux, x64, command1]
9090
steps:
9191
# checkout the pull request branch
92-
- uses: actions/checkout@v4
92+
- uses: actions/checkout@v6
9393
with:
9494
token: ${{ secrets.PR_MAINTAIN }}
9595
repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }}
@@ -98,7 +98,7 @@ jobs:
9898
id: pip-cache
9999
run: echo "datew=$(date '+%Y-%V')" >> $GITHUB_OUTPUT
100100
- name: cache for pip
101-
uses: actions/cache@v4
101+
uses: actions/cache@v5
102102
id: cache
103103
with:
104104
path: |
@@ -154,7 +154,7 @@ jobs:
154154
python -m tests.test_integration_gpu_customization
155155
156156
- name: Add reaction
157-
uses: peter-evans/create-or-update-comment@v4
157+
uses: peter-evans/create-or-update-comment@v5
158158
with:
159159
token: ${{ secrets.PR_MAINTAIN }}
160160
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}

.github/workflows/pythonapp-gpu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
options: --gpus all --env NVIDIA_DISABLE_REQUIRE=true # workaround for unsatisfied condition: cuda>=11.6
4545
runs-on: [self-hosted, linux, x64, common]
4646
steps:
47-
- uses: actions/checkout@v4
47+
- uses: actions/checkout@v6
4848
- name: apt install
4949
if: github.event.pull_request.merged != true
5050
run: |

0 commit comments

Comments
 (0)