Skip to content

Commit 8efe84e

Browse files
authored
[ci]: Fix lint format (#3057)
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent 3b8e797 commit 8efe84e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Makefile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ check_dev_env:
6666
setup_dev_env:
6767
./tests/charts/make/chart_setup_env.sh ; \
6868
exit_code=$$? ; \
69-
make set_containerd_image_store ; \
70-
exit $$exit_code ;
69+
make set_containerd_image_store ; \
70+
exit $$exit_code ;
7171

7272
set_containerd_image_store:
7373
sudo mkdir -p /etc/docker
@@ -85,9 +85,13 @@ format_makefile: install_python_deps
8585
python3 -m mbake format Makefile
8686
python3 -m mbake validate Makefile
8787

88-
install_python_deps:
88+
install_python_deps: install_python_venv
8989
python3 -m pip install -r tests/requirements.txt --break-system-packages
9090

91+
install_python_venv:
92+
python3 -m venv .venv ; \
93+
. .venv/bin/activate
94+
9195
format_python_scripts: install_python_deps
9296
python3 -m isort . ; \
9397
python3 -m black --line-length=120 --skip-string-normalization .

0 commit comments

Comments
 (0)