mirror of
https://github.com/espressif/openthread.git
synced 2026-09-01 23:09:53 +00:00
[style] upgrade yapf to the latest version (#12169)
This commit upgrades yapf which fixes the issue of deprecated lib2to3.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user