mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 13:14:32 +02:00
Merge branch 'bugfix/gh_python_linter' into 'master'
CI: Fix Python linter on Github Closes IDF-4632 See merge request espressif/esp-idf!17089
This commit is contained in:
6
.github/workflows/python_lint.yml
vendored
6
.github/workflows/python_lint.yml
vendored
@@ -5,7 +5,6 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- "**.py"
|
- "**.py"
|
||||||
- "requirements.txt"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
python_lint:
|
python_lint:
|
||||||
@@ -22,11 +21,6 @@ jobs:
|
|||||||
uses: actions/setup-python@master
|
uses: actions/setup-python@master
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
export IDF_PATH=${GITHUB_WORKSPACE}
|
|
||||||
pip install --upgrade pip
|
|
||||||
pip install -r requirements.txt
|
|
||||||
- name: Lint with flake8
|
- name: Lint with flake8
|
||||||
run: |
|
run: |
|
||||||
pip install flake8
|
pip install flake8
|
||||||
|
Reference in New Issue
Block a user