Files
micropython/.github/workflows/ruff.yml
Christian Clauss dc2fcfcc55 all: Upgrade to ruff v0.9.6.
Signed-off-by: Christian Clauss <cclauss@me.com>
2025-02-25 13:02:49 +01:00

14 lines
345 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
- run: pipx install ruff==0.9.6
- run: ruff check --output-format=github .
- run: ruff format --diff .