Skip to content

Commit 6b5c5ab

Browse files
committed
Style check: adapt to changes in container image
The container image used in CI for the static checks now has black installed from pip. This means that the executable "black" may not be always accessible, but using "python3 -m" as an entrypoint is. This is a partial backport of 77ca585. Signed-off-by: Cleber Rosa <[email protected]>
1 parent fe61e01 commit 6b5c5ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

selftests/style.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh -e
22
echo "** Running black..."
33

4-
black --check --diff --color .
4+
python3 -m black --check --diff --color .

0 commit comments

Comments
 (0)