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 diff --git a/.style-exclude b/.style-exclude new file mode 100644 index 0000000..cd28c64 --- /dev/null +++ b/.style-exclude @@ -0,0 +1,5 @@ +# Paths the style check skips: code that isn't ours, and generated files. +# One glob per line. + +# Written by apps/ostinato/scripts/make_icon_font.py. +apps/ostinato/app/ui/icons.py diff --git a/manifest.py b/manifest.py index 1ffc43e..3c384d0 100644 --- a/manifest.py +++ b/manifest.py @@ -1,4 +1,5 @@ # SPDX-FileCopyrightText: 2026 Brad Barnett +# # SPDX-License-Identifier: MIT """applibs as a MicroPython manifest: freeze every shared library in lib/.