From eaca1a0bea35e9330eee96c3a9934a00838cc0a4 Mon Sep 17 00:00:00 2001 From: Brad Barnett <127794626+bdbarnett@users.noreply.github.com> Date: Tue, 3 Nov 2026 20:06:32 -0600 Subject: [PATCH 1/2] SPDX header: the bare # line between the copyright and the licence --- lib/audioeffects/panel_view.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/audioeffects/panel_view.py b/lib/audioeffects/panel_view.py index dd855bc..ae0934f 100644 --- a/lib/audioeffects/panel_view.py +++ b/lib/audioeffects/panel_view.py @@ -1,4 +1,5 @@ # SPDX-FileCopyrightText: 2026 Brad Barnett +# # SPDX-License-Identifier: MIT """An effect as a control panel sees it, and the one call that puts it on screen. From de1accab0d936719e088235c9f06f7d84aeedb60 Mon Sep 17 00:00:00 2001 From: Brad Barnett <127794626+bdbarnett@users.noreply.github.com> Date: Tue, 3 Nov 2026 20:06:32 -0600 Subject: [PATCH 2/2] Style check: fail a pull request on the mechanical style rules --- .github/workflows/style.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/style.yml diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml new file mode 100644 index 0000000..ab9fc31 --- /dev/null +++ b/.github/workflows/style.yml @@ -0,0 +1,16 @@ +# The mechanical house-style rules: SPDX header, no Sphinx roles in +# docstrings, no link to the .github repo from a page, no README badges or +# status banner. Pull requests check the changed files; a manual run checks +# every file. Paths that aren't ours go in .style-exclude. +name: Style + +on: + pull_request: + workflow_dispatch: + +permissions: + contents: read + +jobs: + style: + uses: PyDevices/.github/.github/workflows/reusable-style-check.yml@publishing-v20