From 5adbc0bd6ca973262673adb50604f29df0eaeaff Mon Sep 17 00:00:00 2001 From: Alec Delaney Date: Wed, 19 Jan 2022 11:10:56 -0500 Subject: [PATCH] Reformatted and linted --- src/_typing.py | 2 +- src/circuitpython_typing.py | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/_typing.py b/src/_typing.py index 473b234..a3301ae 100644 --- a/src/_typing.py +++ b/src/_typing.py @@ -28,4 +28,4 @@ See `CircuitPython:board` in CircuitPython for more details. * Author(s): Alec Delaney """ -from circuitpython_typing import * +from circuitpython_typing import * # pylint: disable=wildcard-import,unused-wildcard-import diff --git a/src/circuitpython_typing.py b/src/circuitpython_typing.py index 93c3a3d..192ce0a 100644 --- a/src/circuitpython_typing.py +++ b/src/circuitpython_typing.py @@ -32,9 +32,7 @@ from typing import Union from array import array from numpy import ndarray -ReadableBuffer = Union[ - bytes, bytearray, memoryview, array, ndarray -] +ReadableBuffer = Union[bytes, bytearray, memoryview, array, ndarray] """Classes that implement the readable buffer protocol - `bytes` - `bytearray` @@ -43,9 +41,7 @@ ReadableBuffer = Union[ - `numpy.ndarray` """ -WriteableBuffer = Union[ - bytearray, memoryview, array, ndarray -] +WriteableBuffer = Union[bytearray, memoryview, array, ndarray] """Classes that implement the writeable buffer protocol - `bytearray` - `memoryview` -- 2.49.0