Add stubs for RPi.GPIO (#11345)

This commit is contained in:
Frédéric Perrin authored and GitHub committed 2024-01-30 15:17:22 +01:00
1 parent 8e872a022c
commit edd99220dc
3 files changed
+68

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
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!
# https://sourceforge.net/p/raspberry-gpio-python/code/ci/08048dd1894a6b09a104557b6eaa6bb68b6baac5/tree/source/py_gpio.c#l1008
skip = true