From 8058d37c0922da970241931b4abd7a41c5b02973 Mon Sep 17 00:00:00 2001 From: scap3yvt <149599669+scap3yvt@users.noreply.github.com> Date: Tue, 21 Nov 2023 09:39:04 -0500 Subject: [PATCH 1/2] changed to latest `black` version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 039fb0560..40c974b0b 100644 --- a/setup.py +++ b/setup.py @@ -76,7 +76,7 @@ def run(self): requirements = [ "torch==1.13.1", - "black", + "black==23.11.0", "numpy==1.25.0", "scipy", "SimpleITK!=2.0.*", From f5f9bf8844b9fad03bc591122db2114b57c77d19 Mon Sep 17 00:00:00 2001 From: scap3yvt <149599669+scap3yvt@users.noreply.github.com> Date: Tue, 21 Nov 2023 09:40:15 -0500 Subject: [PATCH 2/2] Update black.yml --- .github/workflows/black.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index b9144f9d7..80c8729f9 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -20,7 +20,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install black + python -m pip install black==23.11.0 - name: Run tests run: |