Skip to content

Merge pull request #18 from pimoroni/patch-add-pimoroni-module #157

Merge pull request #18 from pimoroni/patch-add-pimoroni-module

Merge pull request #18 from pimoroni/patch-add-pimoroni-module #157

Workflow file for this run

name: Python Linting
on:
push:
pull_request:
jobs:
build:
name: Python Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python Deps
run: python3 -m pip install ruff
- name: Lint Frozen Modules
shell: bash
run: |
python3 -m ruff check --config "builtins = [\"const\"]" --output-format=full --ignore E501 modules/py_frozen
- name: Lint Examples
shell: bash
run: |
python3 -m ruff check --config "builtins = [\"const\"]" --output-format=full --ignore E501 examples