mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-03 14:38:28 +08:00
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:
co-authored by
Avasam
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
parent
07bbe5e18c
commit
3f08a4ed10
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user