Skip to content

Commit

Permalink
CI: Add Python linting workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Sep 16, 2024
1 parent 2b61abd commit fcbebe8
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/python-linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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 --output-format=full --ignore E501 modules/py_frozen
- name: Lint Examples
shell: bash
run: |
python3 -m ruff check --output-format=full --ignore E501 modules/py_littlefs

0 comments on commit fcbebe8

Please sign in to comment.