Split tool.stubtest.platforms metadata key (#13746)

Co-authored-by: Avasam <samuel.06@hotmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Sebastian Rittau
2025-07-31 12:07:20 -04:00
committed by GitHub
co-authored by Avasam pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
parent 07bbe5e18c
commit 3f08a4ed10
27 changed files with 79 additions and 51 deletions
+5 -3
View File
@@ -2,7 +2,9 @@ version = "0.7.*"
upstream_repository = "https://sourceforge.net/p/raspberry-gpio-python/code/"
[tool.stubtest]
# When stubtest tries to import this module:
# error: RPi.GPIO failed to import. RuntimeError: This module can only be run on a Raspberry Pi!
# This package is only supported on Raspberry Pi hardware, which identifies
# itself as 'linux'. When run on other hardware, it raises a RuntimeError:
# RPi.GPIO failed to import. RuntimeError: This module can only be run on a Raspberry Pi!
# https://sourceforge.net/p/raspberry-gpio-python/code/ci/08048dd1894a6b09a104557b6eaa6bb68b6baac5/tree/source/py_gpio.c#l1008
skip = true
supported_platforms = []
ci_platforms = []