Fix/expand BlueNRG lineage devices #91
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Lint | |
| on: | |
| - push | |
| - pull_request | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| ruff: | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| python-version: | |
| - "3.14" | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install ruff | |
| run: pip install ruff | |
| - name: Run ruff format check | |
| run: ruff format --check src/stm32loader | |
| - name: Run ruff lint check | |
| run: ruff check src/stm32loader | |
| pylint: | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| python-version: | |
| - "3.14" | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install lint dependencies | |
| run: pip install pylint pyserial intelhex | |
| - name: Run pylint | |
| run: pylint src/stm32loader |