From c403d6c362370d852f64b8ab0405dd83337a1adb Mon Sep 17 00:00:00 2001 From: Lup Yuen Lee Date: Sat, 2 Nov 2024 17:30:44 +0800 Subject: [PATCH] CI: Add Python linter to check This PR syncs https://github.com/apache/nuttx/pull/14323 from `nuttx` repo to `nuttx-apps`. This will resolve the `checkpatch.sh` failure: https://github.com/apache/nuttx-apps/issues/2812 --- .github/workflows/check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index f815121cb5..0345e0f9b8 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -44,9 +44,9 @@ jobs: - name: Check Pull Request run: | echo "::add-matcher::nuttx/.github/nxstyle.json" - python -m venv .venv + python3 -m venv .venv source .venv/bin/activate - pip install cmake-format + pip install cmake-format black isort flake8 cd apps commits="${{ github.event.pull_request.base.sha }}..HEAD" git log --oneline $commits