blob: 6a8d4055a91b027637bc9115f28a5bee5de24bb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
name: Python code lint and formatting with ruff
on: [push, pull_request]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
# 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 .
|