Skip to content

Commit

Permalink
ci: update ruff dev version
Browse files Browse the repository at this point in the history
  • Loading branch information
pegahcarter authored and eerkaijun committed Mar 25, 2024
1 parent 37ac098 commit 061a253
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions devenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ install_dev_dependencies() {
pip3 install --upgrade pip
fi

# Check if ruff 0.0.286 is installed, otherwise install this version
# Check if ruff 0.3.2 is installed, otherwise install this version
ruff_version=$(pip3 freeze | grep ruff | awk -F'==' '{print $2}')
if [ "$ruff_version" = "0.0.286" ]; then
if [ "$ruff_version" = "0.3.2" ]; then
echo "ruff version is $ruff_version"
else
echo "ruff version is $ruff_version, but 0.0.286 is required"
pip3 install ruff==0.0.286
echo "ruff version is $ruff_version, but 0.3.2 is required"
pip3 install ruff==0.3.2
fi

# Check if autopep8 is installed, otherwise install it
Expand Down

0 comments on commit 061a253

Please sign in to comment.