Skip to content

Commit 9b72b99

Browse files
authored
Ci Fix black version (#39)
* ci: Fix black versioning for tests Signed-off-by: Ananth Subramaniam <[email protected]> * ~=24.3 Signed-off-by: Ananth Subramaniam <[email protected]> * redirect stderr Signed-off-by: Ananth Subramaniam <[email protected]> --------- Signed-off-by: Ananth Subramaniam <[email protected]>
1 parent f01341e commit 9b72b99

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/code-linting.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
fi
104104
105105
set +e
106-
uv run --only-group test isort --check-only --diff ${CHANGED_FILES[@]} > isort.txt
106+
uv run --only-group test isort --check-only --diff ${CHANGED_FILES[@]} > isort.txt 2>&1
107107
ISORT_EXIT_CODE=$?
108108
109109
if [[ $SKIP_LINTING == true ]]; then
@@ -125,7 +125,7 @@ jobs:
125125
fi
126126
127127
set +e
128-
uv run --only-group test black --check --diff ${CHANGED_FILES[@]} > black.txt
128+
uv run --only-group test black --check --diff ${CHANGED_FILES[@]} > black.txt 2>&1
129129
BLACK_EXIT_CODE=$?
130130
131131
if [[ $SKIP_LINTING == true ]]; then

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ docs = [
9494
"sphinx-copybutton>=0.5.2",
9595
]
9696
test = [
97-
"black>=25.1.0",
97+
"black~=24.3",
9898
"coverage>=7.8.1",
9999
"flake8>=7.2.0",
100100
"isort>=6.0.1",

0 commit comments

Comments
 (0)