From cb7a167c7dee2fa1a19bd09ede3bae8b140e79da Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 14 Feb 2022 11:47:36 +0100 Subject: build: use PlatformIO --- typings/serial/tools/list_ports.pyi | 16 ---------------- typings/serial/tools/list_ports_common.pyi | 16 ---------------- typings/serial/tools/list_ports_linux.pyi | 11 ----------- typings/serial/tools/list_ports_windows.pyi | 8 -------- 4 files changed, 51 deletions(-) delete mode 100644 typings/serial/tools/list_ports.pyi delete mode 100644 typings/serial/tools/list_ports_common.pyi delete mode 100644 typings/serial/tools/list_ports_linux.pyi delete mode 100644 typings/serial/tools/list_ports_windows.pyi (limited to 'typings/serial/tools') diff --git a/typings/serial/tools/list_ports.pyi b/typings/serial/tools/list_ports.pyi deleted file mode 100644 index 67df6f6..0000000 --- a/typings/serial/tools/list_ports.pyi +++ /dev/null @@ -1,16 +0,0 @@ -"""\ -This module will provide a function called comports that returns an -iterable (generator or list) that will enumerate available com ports. Note that -on some systems non-existent ports may be listed. - -Additionally a grep function is supplied that can be used to search for ports -based on their descriptions or hardware ID. -""" -from typing import Any, List, Optional - -from list_ports_common import ListPortInfo - - -def comports(include_links: Optional[Any] = ...) -> List[ListPortInfo]: - """Return a list of info objects about serial ports""" - ... diff --git a/typings/serial/tools/list_ports_common.pyi b/typings/serial/tools/list_ports_common.pyi deleted file mode 100644 index 60920d0..0000000 --- a/typings/serial/tools/list_ports_common.pyi +++ /dev/null @@ -1,16 +0,0 @@ -from typing import Any, Optional - - -class ListPortInfo: - """Info collection base class for serial ports""" - - def __init__( - self, - device: Any, - skip_link_detection: Optional[Any] = ... - ) -> None: - ... - - @property - def device(self) -> str: - ... diff --git a/typings/serial/tools/list_ports_linux.pyi b/typings/serial/tools/list_ports_linux.pyi deleted file mode 100644 index ccb94ed..0000000 --- a/typings/serial/tools/list_ports_linux.pyi +++ /dev/null @@ -1,11 +0,0 @@ -from typing import Any, List, Optional -import serial.tools.list_ports_common - - -class SysFS(serial.tools.list_ports_common.ListPortInfo): - """Wrapper for easy sysfs access and device info""" - ... - - -def comports(include_links: Optional[Any] = ...) -> List[SysFS]: - ... diff --git a/typings/serial/tools/list_ports_windows.pyi b/typings/serial/tools/list_ports_windows.pyi deleted file mode 100644 index 314af5b..0000000 --- a/typings/serial/tools/list_ports_windows.pyi +++ /dev/null @@ -1,8 +0,0 @@ -from typing import Any, List, Optional - -from serial.tools.list_ports_common import ListPortInfo - - -def comports(include_links: Optional[Any] = ...) -> List[ListPortInfo]: - """Return a list of info objects about serial ports""" - ... -- cgit v1.2.3-18-g5258