Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions ports/cpython/tests/test_callback_lifetime.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2026 Brad Barnett
#
# SPDX-License-Identifier: MIT
"""Lifetime of Python callbacks registered with add_event_cb.

Expand Down
2 changes: 2 additions & 0 deletions ports/cpython/tests/test_callback_references.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2026 Brad Barnett
#
# SPDX-License-Identifier: MIT
"""References a callback trampoline holds while LVGL calls into Python.

Expand Down
2 changes: 2 additions & 0 deletions ports/cpython/tests/test_free_threading.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2026 Brad Barnett
#
# SPDX-License-Identifier: MIT
"""lvgl on a free-threaded Python (3.13t and later).

Expand Down
2 changes: 2 additions & 0 deletions ports/cpython/tests/test_jpeg_decoder.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2026 Brad Barnett
#
# SPDX-License-Identifier: MIT
"""JPEG images draw scaled and contained, as they do on MicroPython.

Expand Down
2 changes: 2 additions & 0 deletions ports/cpython/tests/test_lvgl_init.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2026 Brad Barnett
#
# SPDX-License-Identifier: MIT
"""Unit tests for the native lvgl CPython extension."""

Expand Down
2 changes: 2 additions & 0 deletions ports/cpython/tests/test_runtime_references.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2026 Brad Barnett
#
# SPDX-License-Identifier: MIT
"""Reference counts and buffer exports the runtime hands across to LVGL.

Expand Down
2 changes: 2 additions & 0 deletions ports/cpython/tests/test_struct_callback_lifetime.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2026 Brad Barnett
#
# SPDX-License-Identifier: MIT
"""Lifetime of Python callbacks set on animations and timers.

Expand Down
Loading