mirror of
https://github.com/micropython/micropython.git
synced 2025-07-21 13:01:10 +02:00
Brings it into sync with a matching change to micropython-lib (which was much older). Includes one small automatic fix. Signed-off-by: Angus Gratton <angus@redyak.com.au>
14 lines
369 B
YAML
14 lines
369 B
YAML
name: Python code lint and formatting with ruff
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
ruff:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
# ruff version should be kept in sync with .pre-commit-config.yaml & also micropython-lib
|
|
- run: pipx install ruff==0.11.6
|
|
- run: ruff check --output-format=github .
|
|
- run: ruff format --diff .
|