Skip to content

Commit

Permalink
CI: Add Python linter to check
Browse files Browse the repository at this point in the history
This PR syncs apache/nuttx#14323 from `nuttx` repo to `nuttx-apps`.

This will resolve the `checkpatch.sh` failure: apache#2812
  • Loading branch information
lupyuen authored and cederom committed Nov 2, 2024
1 parent 76c016b commit c403d6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c403d6c

Please sign in to comment.