Skip to content

Commit

Permalink
manually upgrade python3-flake8 to version 7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
skpawar1305 committed Mar 14, 2024
1 parent b0d1387 commit 1638f62
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/ci_after_init.bash
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,13 @@ fi

# Setup Qt plugins for RViz (can be used once RViz does not randomly crash anymore in GitHub CI).
#export QT_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt5/plugins

# Manually upgrade python3-flake8 to 7.0.0 for noble
if [[ "${ROS_DISTRO}" == "rolling" ]]; then
apt install -y python3-flake8
wget http://ftp.ubuntu.com/ubuntu/ubuntu/pool/universe/p/pyflakes/python3-pyflakes_3.2.0-1_all.deb -P /tmp
dpkg -i /tmp/python3-pyflakes_3.2.0-1_all.deb
wget http://ftp.ubuntu.com/ubuntu/ubuntu/pool/universe/p/python-flake8/python3-flake8_7.0.0-1_all.deb -P /tmp
dpkg -i /tmp/python3-flake8_7.0.0-1_all.deb
apt --fix-broken install -y
fi

0 comments on commit 1638f62

Please sign in to comment.