polish code with new pre-commit rule (#2923)

This commit is contained in:
Zero Rains
2025-07-19 23:19:27 +08:00
committed by GitHub
parent b8676d71a8
commit 25698d56d1
424 changed files with 14307 additions and 13518 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddle:cuda126-dev
RUN apt update && apt install -y lsof
RUN wget https://raw.githubusercontent.com/PaddlePaddle/FastDeploy/refs/heads/develop/requirements.txt
RUN wget https://raw.githubusercontent.com/PaddlePaddle/FastDeploy/refs/heads/develop/requirements.txt
RUN python -m pip install -r requirements.txt -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple && python -m pip install pytest
RUN apt update && apt install -y python3.10-venv
+1 -1
View File
@@ -3,7 +3,7 @@ PRODUCT_NAME='ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddle:fastdeplo
cp ../../requirements.txt ./
docker build -t ${PRODUCT_NAME} -f Dockerfile.ci . \
--network host
--network host
# --build-arg HTTP_PROXY=${proxy} \
# --build-arg HTTPS_PROXY=${proxy} \
# --build-arg ftp_proxy=${proxy}