From 997162685c0933b20b90824a50cc3e2f4c90b77b Mon Sep 17 00:00:00 2001 From: Filipe Cavalcanti Date: Tue, 15 Oct 2024 14:49:26 +0200 Subject: [PATCH] ci: add Python linter to check --- .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 2cde3f9032..16be391073 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -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