mirror of
https://github.com/apache/nuttx.git
synced 2026-10-05 05:07:48 +00:00
ci: add Python linter to check
This commit is contained in:
parent
0beceeb745
commit
809cdd6595
1 changed files with 2 additions and 2 deletions
4
.github/workflows/check.yml
vendored
4
.github/workflows/check.yml
vendored
|
|
@ -39,9 +39,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 nuttx
|
||||
commits="${{ github.event.pull_request.base.sha }}..HEAD"
|
||||
git log --oneline $commits
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue