Skip to content

Commit

Permalink
fix pylint
Browse files Browse the repository at this point in the history
Signed-off-by: Sun, Xuehao <[email protected]>
  • Loading branch information
XuehaoSun committed Dec 17, 2024
1 parent 4e4b988 commit 08d4d54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .azure-pipelines/scripts/codeScan/pylint/pylint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ RESET="echo -en \\E[0m \\n" # close color
log_dir="/auto-round/.azure-pipelines/scripts/codeScan/scanLog"
mkdir -p $log_dir

pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install -r /auto-round/requirements.txt
pip install -r /auto-round/requirements-cpu.txt

echo "[DEBUG] list pipdeptree..."
pip install pipdeptree
Expand Down
1 change: 1 addition & 0 deletions .azure-pipelines/template/ut-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ steps:
- ${{ if eq(parameters.imageSource, 'build') }}:
- script: |
docker exec ${{ parameters.utContainerName }} bash -c "cd /auto-round \
&& pip install torch --index-url https://download.pytorch.org/whl/cpu \
&& pip install .[cpu] \
&& pip list"
displayName: "Env Setup"
Expand Down

0 comments on commit 08d4d54

Please sign in to comment.