We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5510519 commit 260b920Copy full SHA for 260b920
1 file changed
stubs/RPi.GPIO/METADATA.toml
@@ -2,7 +2,9 @@ version = "0.7.*"
2
upstream_repository = "https://sourceforge.net/p/raspberry-gpio-python/code/"
3
4
[tool.stubtest]
5
-# When stubtest tries to import this module:
6
-# 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:
7
+# RPi.GPIO failed to import. RuntimeError: This module can only be run on a Raspberry Pi!
8
# https://sourceforge.net/p/raspberry-gpio-python/code/ci/08048dd1894a6b09a104557b6eaa6bb68b6baac5/tree/source/py_gpio.c#l1008
9
skip = true
10
+supported_platforms = ["linux"]
0 commit comments