[style] upgrade yapf to the latest version (#12169)

This commit upgrades yapf which fixes the issue of deprecated lib2to3.
This commit is contained in:
Yakun Xu
2025-11-19 08:14:33 -08:00
committed by GitHub
parent 5ce409830b
commit 0fb573177c
4 changed files with 5 additions and 9 deletions
+1 -5
View File
@@ -56,16 +56,12 @@ jobs:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
submodules: recursive
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: '3.12'
cache: pip
- name: Bootstrap
run: |
sudo apt-get update
sudo apt-get --no-install-recommends install -y shellcheck iwyu
sudo bash script/install-llvm.sh
python3 -m pip install yapf==0.31.0
python3 -m pip install yapf==0.43.0
sudo snap install shfmt
npm install [email protected]
- name: Check