-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into Bump-networkx-to-3.2.1
- Loading branch information
Showing
24 changed files
with
133 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
from collections.abc import Callable | ||
from typing import Literal, TypedDict | ||
from typing_extensions import TypeAlias | ||
|
||
class _RPi_Info(TypedDict): | ||
P1_REVISION: int | ||
REVISION: str | ||
TYPE: str | ||
MANUFACTURER: str | ||
PROCESSOR: str | ||
RAM: str | ||
|
||
VERSION: str | ||
RPI_INFO: _RPi_Info | ||
RPI_REVISION: int | ||
|
||
HIGH: Literal[1] | ||
LOW: Literal[0] | ||
|
||
OUT: int | ||
IN: int | ||
HARD_PWM: int | ||
SERIAL: int | ||
I2C: int | ||
SPI: int | ||
UNKNOWN: int | ||
|
||
BOARD: int | ||
BCM: int | ||
|
||
PUD_OFF: int | ||
PUD_UP: int | ||
PUD_DOWN: int | ||
|
||
RISING: int | ||
FALLING: int | ||
BOTH: int | ||
|
||
_EventCallback: TypeAlias = Callable[[int], object] | ||
|
||
def setup(channel: int, dir: int, pull_up_down: int = ..., initial: int = ...) -> None: ... | ||
def cleanup(channel: int = 0) -> None: ... | ||
def output(channel: int, state: int | bool) -> None: ... | ||
def input(channel: int) -> int: ... | ||
def setmode(mode: int) -> None: ... | ||
def getmode() -> int: ... | ||
def add_event_detect(channel: int, edge: int, callback: _EventCallback | None, bouncetime: int = ...) -> None: ... | ||
def remove_event_detect(channel: int) -> None: ... | ||
def event_detected(channel: int) -> bool: ... | ||
def add_event_callback(channel: int, callback: _EventCallback) -> None: ... | ||
def wait_for_edge(channel: int, edge: int, bouncetime: int = ..., timeout: int = ...) -> int | None: ... | ||
def gpio_function(channel: int) -> int: ... | ||
def setwarnings(gpio_warnings: bool) -> None: ... | ||
|
||
class PWM: | ||
def __init__(self, channel: int, frequency: float) -> None: ... | ||
def start(self, dutycycle: float) -> None: ... | ||
def ChangeDutyCycle(self, dutycycle: float) -> None: ... | ||
def ChangeFrequence(self, frequency: float) -> None: ... | ||
def stop(self) -> None: ... |
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
stubs/flake8-plugin-utils/flake8_plugin_utils/utils/__init__.pyi
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
stubs/flake8-plugin-utils/flake8_plugin_utils/utils/assertions.pyi
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
stubs/flake8-plugin-utils/flake8_plugin_utils/utils/constants.pyi
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
stubs/flake8-plugin-utils/flake8_plugin_utils/utils/equiv_nodes.pyi
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
version = "2023.3.post1" | ||
version = "2023.4" | ||
# This is a mirror of https://git.launchpad.net/pytz/tree, see https://pythonhosted.org/pytz/#latest-versions | ||
upstream_repository = "https://github.com/stub42/pytz" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.