This is an automated email from the ASF dual-hosted git repository.

cederom pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new c403d6c36 CI: Add Python linter to check
c403d6c36 is described below

commit c403d6c362370d852f64b8ab0405dd83337a1adb
Author: Lup Yuen Lee <[email protected]>
AuthorDate: Sat Nov 2 17:30:44 2024 +0800

    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 f815121cb..0345e0f9b 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

Reply via email to