summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngus Gratton <angus@redyak.com.au>2024-01-31 15:07:15 +1100
committerDamien George <damien@micropython.org>2024-02-07 15:22:41 +1100
commit781366e476af599a5b9038970bc19137ab40e766 (patch)
tree10ec9d162e718a357b26aaf75c048566f8bf68d6
parent6f0aa275f85dbdc3e36f6bfd94d678f70203939d (diff)
github/workflows: Standardise formatting of ruff.yml.
All the other workflow YAML files use vertical whitespace around top-level items. Also remove spurious comment, the features in the linked doc aren't actually used in this workflow (any more?). This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
-rw-r--r--.github/workflows/ruff.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml
index 77a8bd1e9..29e9ddbf8 100644
--- a/.github/workflows/ruff.yml
+++ b/.github/workflows/ruff.yml
@@ -1,6 +1,7 @@
-# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Python code lint and formatting with ruff
+
on: [push, pull_request]
+
jobs:
ruff:
runs-on: ubuntu-latest