Created
June 17, 2024 14:25
-
-
Save jepler/8e9e477e84d65a81da36aa0db2eb4864 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
--- libraries/drivers/24lc32/adafruit_24lc32.py | |
+++ libraries/drivers/24lc32/adafruit_24lc32.munged.py | |
@@ -31,14 +31,14 @@ | |
import time | |
from micropython import const | |
-try: | |
- from typing import Optional, Union, Sequence | |
- from digitalio import DigitalInOut | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_24LC32.git" | |
_MAX_SIZE_I2C = const(0x1000) | |
--- libraries/drivers/74hc595/adafruit_74hc595.py | |
+++ libraries/drivers/74hc595/adafruit_74hc595.munged.py | |
@@ -28,15 +28,15 @@ | |
import digitalio | |
from adafruit_bus_device import spi_device | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from microcontroller import Pin | |
- import busio | |
- from circuitpython_typing import ReadableBuffer | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_74HC595.git" | |
--- libraries/drivers/acep7in/adafruit_acep7in.py | |
+++ libraries/drivers/acep7in/adafruit_acep7in.munged.py | |
@@ -29,7 +29,7 @@ | |
from displayio import FourWire | |
from displayio import EPaperDisplay | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ACeP7In.git" | |
_START_SEQUENCE = ( | |
--- libraries/drivers/ad569x/adafruit_ad569x.py | |
+++ libraries/drivers/ad569x/adafruit_ad569x.munged.py | |
@@ -36,13 +36,13 @@ | |
from micropython import const | |
from adafruit_bus_device.i2c_device import I2CDevice | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0-auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_AD569x.git" | |
_NOP = const(0x00) | |
--- libraries/drivers/adt7410/adafruit_adt7410.py | |
+++ libraries/drivers/adt7410/adafruit_adt7410.munged.py | |
@@ -46,12 +46,12 @@ | |
except ImportError: | |
pass | |
-try: | |
- from typing import Union | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ADT7410.git" | |
_REG_WHOAMI = const(0xB) | |
--- libraries/drivers/adxl34x/adafruit_adxl34x.py | |
+++ libraries/drivers/adxl34x/adafruit_adxl34x.munged.py | |
@@ -32,15 +32,15 @@ | |
from micropython import const | |
from adafruit_bus_device import i2c_device | |
-try: | |
- from typing import Tuple, Dict | |
- | |
- # This is only needed for typing | |
- import busio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ADXL34x.git" | |
_ADXL345_DEFAULT_ADDRESS: int = const(0x53) # Assumes ALT address pin low | |
--- libraries/drivers/adxl37x/adafruit_adxl37x.py | |
+++ libraries/drivers/adxl37x/adafruit_adxl37x.munged.py | |
@@ -32,15 +32,15 @@ | |
from micropython import const | |
import adafruit_adxl34x | |
-try: | |
- from typing import Tuple, Optional | |
- # This is only needed for typing | |
- import busio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ADXL37x.git" | |
_ADXL375_DEFAULT_ADDRESS = const(0x53) | |
--- libraries/drivers/ags02ma/adafruit_ags02ma.py | |
+++ libraries/drivers/ags02ma/adafruit_ags02ma.munged.py | |
@@ -37,7 +37,7 @@ | |
from micropython import const | |
from adafruit_bus_device import i2c_device | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_AGS02MA.git" | |
AGS02MA_I2CADDR_DEFAULT: int = const(0x1A) # Default I2C address | |
--- libraries/drivers/am2320/adafruit_am2320.py | |
+++ libraries/drivers/am2320/adafruit_am2320.munged.py | |
@@ -33,14 +33,14 @@ | |
from adafruit_bus_device.i2c_device import I2CDevice | |
from micropython import const | |
-try: | |
- # Used only for typing | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_am2320.git" | |
--- libraries/drivers/amg88xx/adafruit_amg88xx.py | |
+++ libraries/drivers/amg88xx/adafruit_amg88xx.munged.py | |
@@ -36,12 +36,12 @@ | |
) # pylint: disable=unused-import,line-too-long | |
from micropython import const | |
-try: | |
- from typing import List | |
- # These are only needed for typing | |
- import busio # pylint: disable=unused-import | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
# Registers are defined below in the class. These are possible register values. | |
--- libraries/drivers/as726x/adafruit_as726x.py | |
+++ libraries/drivers/as726x/adafruit_as726x.munged.py | |
@@ -31,12 +31,12 @@ | |
from adafruit_bus_device.i2c_device import I2CDevice | |
from micropython import const | |
-try: | |
- from typing import Tuple, Optional | |
- | |
- # This is only needed for typing | |
- import busio # pylint: disable=unused-import | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/as7341/adafruit_as7341.py | |
+++ libraries/drivers/as7341/adafruit_as7341.munged.py | |
@@ -32,7 +32,7 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_AS7341.git" | |
from time import sleep, monotonic | |
@@ -43,17 +43,17 @@ | |
from adafruit_register.i2c_bit import RWBit | |
from adafruit_register.i2c_bits import ROBits, RWBits | |
-try: | |
- from typing import Tuple, Optional, Any, Callable, TypeVar | |
- | |
- # Only needed for typing | |
- import busio # pylint: disable=unused-import | |
- | |
- TCallable = TypeVar( # pylint: disable=invalid-name | |
- "TCallable", bound=Callable[..., Any] | |
- ) | |
- | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
# Correct content of WHO_AM_I register | |
--- libraries/drivers/aw9523/adafruit_aw9523.py | |
+++ libraries/drivers/aw9523/adafruit_aw9523.munged.py | |
@@ -32,13 +32,13 @@ | |
from adafruit_register.i2c_bits import RWBits | |
from micropython import const | |
-try: | |
- from typing import Optional | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_AW9523.git" | |
_AW9523_DEFAULT_ADDR = const(0x58) | |
--- libraries/drivers/bd3491fs/adafruit_bd3491fs.py | |
+++ libraries/drivers/bd3491fs/adafruit_bd3491fs.munged.py | |
@@ -28,17 +28,17 @@ | |
# imports | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BD3491FS.git" | |
from micropython import const | |
import adafruit_bus_device.i2c_device as i2cdevice | |
from adafruit_register.i2c_struct import UnaryStruct | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_INPUT_SELECTOR = const(0x04) | |
--- libraries/drivers/bh1750/adafruit_bh1750.py | |
+++ libraries/drivers/bh1750/adafruit_bh1750.munged.py | |
@@ -29,7 +29,7 @@ | |
# imports | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BH1750.git" | |
from time import sleep | |
@@ -37,10 +37,10 @@ | |
from micropython import const | |
from adafruit_bus_device import i2c_device | |
-try: | |
- from typing import Optional, List, Tuple, Type | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_BH1750_DEVICE_ID = 0xE1 # Correct content of WHO_AM_I register | |
--- libraries/drivers/bluefruitspi/adafruit_bluefruitspi.py | |
+++ libraries/drivers/bluefruitspi/adafruit_bluefruitspi.munged.py | |
@@ -25,7 +25,7 @@ | |
* Adafruit's Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BluefruitSPI.git" | |
import time | |
--- libraries/drivers/bme680/adafruit_bme680.py | |
+++ libraries/drivers/bme680/adafruit_bme680.munged.py | |
@@ -41,19 +41,19 @@ | |
time.sleep(nusec / 1000000.0) | |
-try: | |
- # Used only for type annotations. | |
- | |
- import typing # pylint: disable=unused-import | |
- | |
- from circuitpython_typing import ReadableBuffer | |
- from busio import I2C, SPI | |
- from digitalio import DigitalInOut | |
- | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BME680.git" | |
--- libraries/drivers/bmp280/adafruit_bmp280.py | |
+++ libraries/drivers/bmp280/adafruit_bmp280.munged.py | |
@@ -35,17 +35,17 @@ | |
from micropython import const | |
-try: | |
- from typing import Optional | |
- | |
- # Used only for type annotations. | |
- from busio import SPI, I2C | |
- from digitalio import DigitalInOut | |
- | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BMP280.git" | |
# I2C ADDRESS/BITS/SETTINGS | |
--- libraries/drivers/bmp3xx/adafruit_bmp3xx.py | |
+++ libraries/drivers/bmp3xx/adafruit_bmp3xx.munged.py | |
@@ -32,14 +32,14 @@ | |
from micropython import const | |
-try: | |
- from typing import Tuple | |
- from digitalio import DigitalInOut | |
- from busio import I2C, SPI | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BMP3XX.git" | |
_BMP388_CHIP_ID = const(0x50) | |
--- libraries/drivers/bno055/adafruit_bno055.py | |
+++ libraries/drivers/bno055/adafruit_bno055.munged.py | |
@@ -35,13 +35,13 @@ | |
from adafruit_bus_device.i2c_device import I2CDevice | |
from adafruit_register.i2c_struct import Struct, UnaryStruct | |
-try: | |
- from typing import Any, Optional, Tuple, Type, Union | |
- from busio import I2C, UART | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BNO055.git" | |
_CHIP_ID = const(0xA0) | |
--- libraries/drivers/bno08x_rvc/adafruit_bno08x_rvc.py | |
+++ libraries/drivers/bno08x_rvc/adafruit_bno08x_rvc.munged.py | |
@@ -26,13 +26,13 @@ | |
import time | |
from struct import unpack_from | |
-try: | |
- from typing import Optional, Tuple | |
- from busio import UART | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BNO08x_RVC.git" | |
--- libraries/drivers/ccs811/adafruit_ccs811.py | |
+++ libraries/drivers/ccs811/adafruit_ccs811.munged.py | |
@@ -36,13 +36,13 @@ | |
from adafruit_register import i2c_bit | |
from adafruit_register import i2c_bits | |
-try: | |
- from typing import Optional | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CCS811.git" | |
--- libraries/drivers/clue/adafruit_clue.py | |
+++ libraries/drivers/clue/adafruit_clue.munged.py | |
@@ -39,9 +39,9 @@ | |
https://github.com/adafruit/Adafruit_CircuitPython_NeoPixel | |
""" | |
-try: | |
- from typing import Union, Tuple, Optional | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
import time | |
@@ -61,7 +61,7 @@ | |
import touchio | |
import displayio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CLUE.git" | |
--- libraries/drivers/crickit/adafruit_crickit.py | |
+++ libraries/drivers/crickit/adafruit_crickit.munged.py | |
@@ -48,12 +48,12 @@ | |
from adafruit_motor.motor import DCMotor | |
from adafruit_motor.stepper import StepperMotor | |
-try: | |
- from typing import Any, Tuple, Type, Union | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Crickit.git" | |
--- libraries/drivers/cst8xx/adafruit_cst8xx.py | |
+++ libraries/drivers/cst8xx/adafruit_cst8xx.munged.py | |
@@ -34,12 +34,12 @@ | |
from micropython import const | |
-try: | |
- from typing import List | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CST8XX.git" | |
--- libraries/drivers/dht/adafruit_dht.py | |
+++ libraries/drivers/dht/adafruit_dht.munged.py | |
@@ -39,14 +39,14 @@ | |
except (ImportError, NotImplementedError): | |
pass # This is OK, we'll try to bitbang it! | |
-try: | |
- # Used only for typing | |
- from typing import Union | |
- from microcontroller import Pin | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DHT.git" | |
--- libraries/drivers/displayio_sh1106/adafruit_displayio_sh1106.py | |
+++ libraries/drivers/displayio_sh1106/adafruit_displayio_sh1106.munged.py | |
@@ -31,7 +31,7 @@ | |
from displayio import FourWire | |
from displayio import Display as BusDisplay | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_SH1106.git" | |
--- libraries/drivers/displayio_sh1107/adafruit_displayio_sh1107.py | |
+++ libraries/drivers/displayio_sh1107/adafruit_displayio_sh1107.munged.py | |
@@ -30,12 +30,12 @@ | |
import displayio | |
from micropython import const | |
-try: | |
- from typing import Union | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_SH1107.git" | |
--- libraries/drivers/displayio_ssd1305/adafruit_displayio_ssd1305.py | |
+++ libraries/drivers/displayio_ssd1305/adafruit_displayio_ssd1305.munged.py | |
@@ -40,12 +40,12 @@ | |
from displayio import Display as BusDisplay | |
from displayio import I2CDisplay as I2CDisplayBus | |
-try: | |
- from typing import Union | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_SSD1305.git" | |
_INIT_SEQUENCE = ( | |
--- libraries/drivers/displayio_ssd1306/adafruit_displayio_ssd1306.py | |
+++ libraries/drivers/displayio_ssd1306/adafruit_displayio_ssd1306.munged.py | |
@@ -31,11 +31,11 @@ | |
https://github.com/adafruit/circuitpython/releases | |
""" | |
-try: | |
- from typing import Union | |
- from fourwire import FourWire | |
- from i2cdisplaybus import I2CDisplayBus | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
try: | |
@@ -43,7 +43,7 @@ | |
except: | |
from displayio import Display as BusDisplay | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_SSD1306.git" | |
# Sequence from page 19 here: https://cdn-shop.adafruit.com/datasheets/UG-2864HSWEG01+user+guide.pdf | |
--- libraries/drivers/dotstar/adafruit_dotstar.py | |
+++ libraries/drivers/dotstar/adafruit_dotstar.munged.py | |
@@ -18,15 +18,15 @@ | |
import adafruit_pixelbuf | |
-try: | |
- from typing import Optional, Type | |
- from types import TracebackType | |
- from circuitpython_typing import ReadableBuffer | |
- from microcontroller import Pin | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DotStar.git" | |
START_HEADER_SIZE = 4 | |
--- libraries/drivers/drv2605/adafruit_drv2605.py | |
+++ libraries/drivers/drv2605/adafruit_drv2605.munged.py | |
@@ -15,13 +15,13 @@ | |
from adafruit_bus_device.i2c_device import I2CDevice | |
-try: | |
- from typing import Union | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DRV2605.git" | |
--- libraries/drivers/ds1307/adafruit_ds1307.py | |
+++ libraries/drivers/ds1307/adafruit_ds1307.munged.py | |
@@ -46,14 +46,14 @@ | |
from adafruit_register import i2c_bit | |
from adafruit_register import i2c_bcd_datetime | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
- from time import struct_time | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DS1307.git" | |
--- libraries/drivers/ds1841/adafruit_ds1841.py | |
+++ libraries/drivers/ds1841/adafruit_ds1841.munged.py | |
@@ -24,7 +24,7 @@ | |
* Adafruit's Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice | |
* Adafruit's Register library: https://github.com/adafruit/Adafruit_CircuitPython_Register""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DS1841.git" | |
from time import sleep | |
@@ -33,10 +33,10 @@ | |
from adafruit_register.i2c_struct_array import StructArray | |
from adafruit_register.i2c_bit import RWBit | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_DS1841_IVR = 0x00 | |
--- libraries/drivers/ds18x20/adafruit_ds18x20.py | |
+++ libraries/drivers/ds18x20/adafruit_ds18x20.munged.py | |
@@ -17,19 +17,19 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DS18x20.git" | |
import time | |
from micropython import const | |
from adafruit_onewire.device import OneWireDevice | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from typing_extensions import Literal | |
- from circuitpython_typing import WriteableBuffer | |
- from adafruit_onewire.bus import OneWireBus # pylint: disable=ungrouped-imports | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_CONVERT = b"\x44" | |
--- libraries/drivers/ds2413/adafruit_ds2413.py | |
+++ libraries/drivers/ds2413/adafruit_ds2413.munged.py | |
@@ -12,17 +12,17 @@ | |
* Author(s): Carter Nelson | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DS2413.git" | |
from micropython import const | |
from adafruit_onewire.device import OneWireDevice | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from typing_extensions import Literal | |
- from adafruit_onewire.bus import OneWireBus # pylint: disable=ungrouped-imports | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_DS2413_ACCESS_READ = b"\xF5" | |
--- libraries/drivers/ds3231/adafruit_ds3231.py | |
+++ libraries/drivers/ds3231/adafruit_ds3231.munged.py | |
@@ -51,15 +51,15 @@ | |
from adafruit_register import i2c_bcd_alarm | |
from adafruit_register import i2c_bcd_datetime | |
-try: | |
- # Used only for typing | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
- from time import struct_time | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DS3231.git" | |
--- libraries/drivers/ds3502/adafruit_ds3502.py | |
+++ libraries/drivers/ds3502/adafruit_ds3502.munged.py | |
@@ -31,7 +31,7 @@ | |
# imports | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DS3502.git" | |
@@ -41,10 +41,10 @@ | |
from adafruit_register.i2c_bit import RWBit | |
import adafruit_bus_device.i2c_device as i2cdevice | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_REG_WIPER = const(0x00) # Wiper value register (R/W) | |
--- libraries/drivers/dymoscale/adafruit_dymoscale.py | |
+++ libraries/drivers/dymoscale/adafruit_dymoscale.munged.py | |
@@ -20,11 +20,11 @@ | |
https://github.com/adafruit/circuitpython/releases | |
""" | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from digitalio import DigitalInOut | |
- import microcontroller | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import time | |
@@ -35,7 +35,7 @@ | |
GRAMS = const(0x02) # data in weight is in grams | |
PULSE_WIDTH = 72.5 | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DymoScale.git" | |
--- libraries/drivers/ek79686/adafruit_ek79686.py | |
+++ libraries/drivers/ek79686/adafruit_ek79686.munged.py | |
@@ -28,7 +28,7 @@ | |
import math | |
import displayio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_EK79686.git" | |
_START_SEQUENCE = ( | |
--- libraries/drivers/ens160/adafruit_ens160.py | |
+++ libraries/drivers/ens160/adafruit_ens160.munged.py | |
@@ -33,14 +33,14 @@ | |
from adafruit_register.i2c_bit import RWBit, ROBit | |
from adafruit_register.i2c_bits import ROBits | |
-try: | |
- from typing import Dict, Optional, Union, List | |
- from typing_extensions import Literal | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ENS160.git" | |
--- libraries/drivers/fingerprint/adafruit_fingerprint.py | |
+++ libraries/drivers/fingerprint/adafruit_fingerprint.munged.py | |
@@ -24,9 +24,9 @@ | |
* Adafruit CircuitPython firmware (2.2.0+) for the ESP8622 and M0-based boards: | |
https://github.com/adafruit/circuitpython/releases | |
""" | |
-try: | |
- from typing import Tuple, List, Union | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
import struct | |
@@ -34,7 +34,7 @@ | |
from micropython import const | |
from busio import UART | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Fingerprint.git" | |
_STARTCODE = const(0xEF01) | |
--- libraries/drivers/floppy/adafruit_floppy.py | |
+++ libraries/drivers/floppy/adafruit_floppy.munged.py | |
@@ -23,15 +23,15 @@ | |
_STEP_IN = const(0) | |
_STEP_OUT = const(1) | |
-try: | |
- import typing | |
- import microcontroller | |
- import circuitpython_typing # pylint: disable=unused-import | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_floppy.git" | |
--- libraries/drivers/focaltouch/adafruit_focaltouch.py | |
+++ libraries/drivers/focaltouch/adafruit_focaltouch.munged.py | |
@@ -34,7 +34,7 @@ | |
# imports | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FocalTouch.git" | |
import struct | |
@@ -43,9 +43,9 @@ | |
from micropython import const | |
-try: | |
- from typing import List | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/fram/adafruit_fram.py | |
+++ libraries/drivers/fram/adafruit_fram.munged.py | |
@@ -31,14 +31,14 @@ | |
# imports | |
from micropython import const | |
-try: | |
- from typing import Optional, Union, Sequence | |
- from digitalio import DigitalInOut | |
- from busio import I2C, SPI | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FRAM.git" | |
_MAX_SIZE_I2C = const(0x8000) | |
--- libraries/drivers/ft5336/adafruit_ft5336.py | |
+++ libraries/drivers/ft5336/adafruit_ft5336.munged.py | |
@@ -30,12 +30,12 @@ | |
from adafruit_bus_device.i2c_device import I2CDevice | |
from micropython import const | |
-try: | |
- from typing import List, Tuple | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FT5336.git" | |
_DEFAULT_ADDR = const(0x38) | |
--- libraries/drivers/fxas21002c/adafruit_fxas21002c.py | |
+++ libraries/drivers/fxas21002c/adafruit_fxas21002c.munged.py | |
@@ -31,13 +31,13 @@ | |
import struct | |
import time | |
-try: | |
- from typing import List, Tuple | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FXAS21002C.git" | |
import adafruit_bus_device.i2c_device as i2c_dev | |
--- libraries/drivers/fxos8700/adafruit_fxos8700.py | |
+++ libraries/drivers/fxos8700/adafruit_fxos8700.munged.py | |
@@ -34,13 +34,13 @@ | |
import adafruit_bus_device.i2c_device as i2c_dev | |
from micropython import const | |
-try: | |
- from typing import Tuple, List | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FXOS8700.git" | |
# Register addresses and other constants: | |
--- libraries/drivers/gps/adafruit_gps.py | |
+++ libraries/drivers/gps/adafruit_gps.munged.py | |
@@ -29,15 +29,15 @@ | |
import time | |
from micropython import const | |
-try: | |
- from typing import Optional, Tuple, List | |
- from typing_extensions import Literal | |
- from circuitpython_typing import ReadableBuffer | |
- from busio import UART, I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_GPS.git" | |
--- libraries/drivers/guvx-i2c/adafruit_guvx_i2c.py | |
+++ libraries/drivers/guvx-i2c/adafruit_guvx_i2c.munged.py | |
@@ -33,13 +33,13 @@ | |
from adafruit_register.i2c_struct import ROUnaryStruct, UnaryStruct | |
from adafruit_register.i2c_bits import RWBits | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_GUVX_I2C.git" | |
--- libraries/drivers/hcsr04/adafruit_hcsr04.py | |
+++ libraries/drivers/hcsr04/adafruit_hcsr04.munged.py | |
@@ -32,11 +32,11 @@ | |
import time | |
from digitalio import DigitalInOut, Direction | |
-try: | |
- from typing import Optional, Type | |
- from types import TracebackType | |
- from microcontroller import Pin | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_USE_PULSEIO = False | |
@@ -47,7 +47,7 @@ | |
except (ImportError, NotImplementedError): | |
pass # This is OK, we'll try to bitbang it! | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_HCSR04.git" | |
--- libraries/drivers/hts221/adafruit_hts221.py | |
+++ libraries/drivers/hts221/adafruit_hts221.munged.py | |
@@ -25,7 +25,7 @@ | |
* Adafruit's Register library: https://github.com/adafruit/Adafruit_CircuitPython_Register | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_HTS221.git" | |
from micropython import const | |
@@ -34,10 +34,10 @@ | |
from adafruit_register.i2c_bits import RWBits, ROBits | |
from adafruit_register.i2c_bit import RWBit, ROBit | |
-try: | |
- from typing import Union, Sequence, Tuple | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_WHO_AM_I = const(0x0F) | |
--- libraries/drivers/htu21d/adafruit_htu21d.py | |
+++ libraries/drivers/htu21d/adafruit_htu21d.munged.py | |
@@ -34,14 +34,14 @@ | |
from adafruit_bus_device.i2c_device import I2CDevice | |
from micropython import const | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from typing_extensions import Literal | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_HTU21D.git" | |
HUMIDITY = const(0xF5) | |
--- libraries/drivers/htu31d/adafruit_htu31d.py | |
+++ libraries/drivers/htu31d/adafruit_htu31d.munged.py | |
@@ -35,14 +35,14 @@ | |
from adafruit_bus_device import i2c_device | |
from micropython import const | |
-try: | |
- from typing import Tuple | |
- from typing_extensions import Literal | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_HTU31D.git" | |
_HTU31D_DEFAULT_ADDR = const(0x40) # HTU31D default I2C Address | |
--- libraries/drivers/husb238/adafruit_husb238.py | |
+++ libraries/drivers/husb238/adafruit_husb238.munged.py | |
@@ -39,13 +39,13 @@ | |
from adafruit_register.i2c_bits import ROBits, RWBits | |
from adafruit_register.i2c_struct import UnaryStruct | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_HUSB238.git" | |
_I2CADDR_DEFAULT = const(0x08) | |
--- libraries/drivers/hx8357/adafruit_hx8357.py | |
+++ libraries/drivers/hx8357/adafruit_hx8357.munged.py | |
@@ -32,7 +32,7 @@ | |
import displayio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_HX8357.git" | |
_INIT_SEQUENCE = ( | |
--- libraries/drivers/icm20x/adafruit_icm20x.py | |
+++ libraries/drivers/icm20x/adafruit_icm20x.munged.py | |
@@ -28,7 +28,7 @@ | |
* Adafruit's Register library: https://github.com/adafruit/Adafruit_CircuitPython_Register | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ICM20X.git" | |
# Common imports; remove if unused or pylint will complain | |
from time import sleep | |
--- libraries/drivers/il0373/adafruit_il0373.py | |
+++ libraries/drivers/il0373/adafruit_il0373.munged.py | |
@@ -31,13 +31,13 @@ | |
import displayio | |
-try: | |
- from typing import Optional | |
- from displayio import FourWire | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_IL0373.git" | |
_START_SEQUENCE = ( | |
--- libraries/drivers/il0398/adafruit_il0398.py | |
+++ libraries/drivers/il0398/adafruit_il0398.munged.py | |
@@ -31,7 +31,7 @@ | |
from displayio import FourWire | |
from displayio import EPaperDisplay | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_IL0398.git" | |
# TODO: Try LUTs from: | |
--- libraries/drivers/il91874/adafruit_il91874.py | |
+++ libraries/drivers/il91874/adafruit_il91874.munged.py | |
@@ -27,7 +27,7 @@ | |
import displayio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_IL91874.git" | |
_START_SEQUENCE = ( | |
--- libraries/drivers/ili9341/adafruit_ili9341.py | |
+++ libraries/drivers/ili9341/adafruit_ili9341.munged.py | |
@@ -46,10 +46,10 @@ | |
https://github.com/adafruit/circuitpython/releases | |
""" | |
-try: | |
- # used for typing only | |
- from typing import Any | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
# Support both 8.x.x and 9.x.x. Change when 8.x.x is discontinued as a stable release. | |
@@ -60,7 +60,7 @@ | |
from displayio import FourWire | |
from displayio import Display as BusDisplay | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ILI9341.git" | |
_INIT_SEQUENCE = ( | |
--- libraries/drivers/ina219/adafruit_ina219.py | |
+++ libraries/drivers/ina219/adafruit_ina219.munged.py | |
@@ -33,13 +33,13 @@ | |
from adafruit_register.i2c_bits import ROBits, RWBits | |
from adafruit_register.i2c_bit import ROBit | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_INA219.git" | |
# Bits | |
--- libraries/drivers/ina260/adafruit_ina260.py | |
+++ libraries/drivers/ina260/adafruit_ina260.munged.py | |
@@ -20,13 +20,13 @@ | |
# imports | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_INA260.git" | |
from micropython import const | |
--- libraries/drivers/irremote/adafruit_irremote.py | |
+++ libraries/drivers/irremote/adafruit_irremote.munged.py | |
@@ -3,16 +3,16 @@ | |
# SPDX-License-Identifier: MIT | |
# pylint: disable=missing-module-docstring | |
-from __future__ import annotations | |
+ | |
import array | |
from collections import namedtuple | |
import time | |
-try: | |
- from typing import List, NamedTuple, Optional, Tuple | |
- from pulseio import PulseOut | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
""" | |
@@ -64,7 +64,7 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_IRRemote.git" | |
--- libraries/drivers/l3gd20/adafruit_l3gd20.py | |
+++ libraries/drivers/l3gd20/adafruit_l3gd20.munged.py | |
@@ -36,15 +36,15 @@ | |
from micropython import const | |
from adafruit_register.i2c_struct import Struct | |
-try: | |
- from typing import Tuple | |
- from digitalio import DigitalInOut | |
- from busio import I2C, SPI | |
- from circuitpython_typing import WriteableBuffer | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_L3GD20.git" | |
L3DS20_RANGE_250DPS = const(0) | |
--- libraries/drivers/lc709203f/adafruit_lc709203f.py | |
+++ libraries/drivers/lc709203f/adafruit_lc709203f.munged.py | |
@@ -37,15 +37,15 @@ | |
from micropython import const | |
from adafruit_bus_device import i2c_device | |
-try: | |
- from typing import Iterable, Optional, Tuple | |
- from typing_extensions import Literal | |
- from circuitpython_typing import ReadableBuffer | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LC709203F.git" | |
LC709203F_I2CADDR_DEFAULT = const(0x0B) | |
--- libraries/drivers/lidarlite/adafruit_lidarlite.py | |
+++ libraries/drivers/lidarlite/adafruit_lidarlite.munged.py | |
@@ -32,14 +32,14 @@ | |
from digitalio import Direction | |
from micropython import const | |
-try: | |
- from typing import Optional | |
- from microcontroller import Pin | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LIDARLite.git" | |
--- libraries/drivers/lis2mdl/adafruit_lis2mdl.py | |
+++ libraries/drivers/lis2mdl/adafruit_lis2mdl.munged.py | |
@@ -36,14 +36,14 @@ | |
from adafruit_register.i2c_bit import RWBit | |
from adafruit_register.i2c_bits import RWBits | |
-try: | |
- from typing import Tuple | |
- from typing_extensions import Literal | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LIS2MDL.git" | |
_ADDRESS_MAG = const(0x1E) # (0x3C >> 1) // 0011110x | |
--- libraries/drivers/lis331/adafruit_lis331.py | |
+++ libraries/drivers/lis331/adafruit_lis331.munged.py | |
@@ -27,7 +27,7 @@ | |
* Adafruit's Register library: https://github.com/adafruit/Adafruit_CircuitPython_Register | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LIS331.git" | |
from struct import unpack_from | |
@@ -37,10 +37,10 @@ | |
from adafruit_register.i2c_struct import UnaryStruct, ROUnaryStruct | |
from adafruit_bus_device import i2c_device | |
-try: | |
- from typing import Iterable, Optional, Tuple, Type, Union | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_LIS331_DEFAULT_ADDRESS = 0x18 # If SDO/SA0 is 3V, its 0x19 | |
--- libraries/drivers/lis3dh/adafruit_lis3dh.py | |
+++ libraries/drivers/lis3dh/adafruit_lis3dh.munged.py | |
@@ -40,15 +40,15 @@ | |
from micropython import const | |
-try: | |
- from typing import Optional | |
- from typing_extensions import Literal | |
- from busio import I2C, SPI | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LIS3DH.git" | |
# Register addresses: | |
--- libraries/drivers/lis3mdl/adafruit_lis3mdl.py | |
+++ libraries/drivers/lis3mdl/adafruit_lis3mdl.munged.py | |
@@ -33,13 +33,13 @@ | |
from adafruit_register.i2c_bits import RWBits | |
from adafruit_register.i2c_bit import RWBit | |
-try: | |
- from typing import Iterable, Tuple, Union, Optional | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LIS3MDL.git" | |
--- libraries/drivers/lps2x/adafruit_lps2x.py | |
+++ libraries/drivers/lps2x/adafruit_lps2x.munged.py | |
@@ -31,7 +31,7 @@ | |
* Adafruit's Register library: https://github.com/adafruit/Adafruit_CircuitPython_Register | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LPS2X.git" | |
from time import sleep | |
from micropython import const | |
@@ -40,11 +40,11 @@ | |
from adafruit_register.i2c_bits import RWBits, ROBits | |
from adafruit_register.i2c_bit import RWBit | |
-try: | |
- from typing import Iterable, Optional, Tuple | |
- from typing_extensions import Literal | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
# _LPS2X_I2CADDR_DEFAULT = 0x5D # LPS2X default i2c address | |
--- libraries/drivers/lps35hw/adafruit_lps35hw.py | |
+++ libraries/drivers/lps35hw/adafruit_lps35hw.munged.py | |
@@ -48,7 +48,7 @@ | |
# imports | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LPS35HW.git" | |
from micropython import const | |
@@ -57,10 +57,10 @@ | |
from adafruit_register.i2c_bits import RWBits, ROBits | |
from adafruit_register.i2c_bit import RWBit | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_INTERRUPT_CFG = const(0x0B) | |
--- libraries/drivers/lsm303-accel/adafruit_lsm303_accel.py | |
+++ libraries/drivers/lsm303-accel/adafruit_lsm303_accel.munged.py | |
@@ -38,14 +38,14 @@ | |
from adafruit_register.i2c_bits import RWBits | |
from adafruit_register.i2c_struct_array import StructArray | |
-try: | |
- from typing import Optional, Tuple | |
- from typing_extensions import Literal | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LSM303_Accel.git" | |
_ADDRESS_ACCEL = const(0x19) # (0x32 >> 1) // 0011001x | |
--- libraries/drivers/lsm303/adafruit_lsm303.py | |
+++ libraries/drivers/lsm303/adafruit_lsm303.munged.py | |
@@ -54,7 +54,7 @@ | |
from adafruit_bus_device.i2c_device import I2CDevice | |
from micropython import const | |
-__version__ = "0.0.0-auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LSM303.git" | |
# pylint: disable=bad-whitespace | |
--- libraries/drivers/lsm303dlh-mag/adafruit_lsm303dlh_mag.py | |
+++ libraries/drivers/lsm303dlh-mag/adafruit_lsm303dlh_mag.munged.py | |
@@ -32,10 +32,10 @@ | |
https://github.com/adafruit/Adafruit_CircuitPython_BusDevice | |
""" | |
-try: | |
- from typing import Tuple | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
try: | |
@@ -46,7 +46,7 @@ | |
from micropython import const | |
from adafruit_bus_device.i2c_device import I2CDevice | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LSM303DLH_Mag.git" | |
_ADDRESS_MAG = const(0x1E) # (0x3C >> 1) // 0011110x | |
--- libraries/drivers/lsm9ds0/adafruit_lsm9ds0.py | |
+++ libraries/drivers/lsm9ds0/adafruit_lsm9ds0.munged.py | |
@@ -39,7 +39,7 @@ | |
from micropython import const | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LSM9DS0.git" | |
# Internal constants and register values: | |
--- libraries/drivers/lsm9ds1/adafruit_lsm9ds1.py | |
+++ libraries/drivers/lsm9ds1/adafruit_lsm9ds1.munged.py | |
@@ -31,7 +31,7 @@ | |
https://github.com/adafruit/Adafruit_CircuitPython_BusDevice | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LSM9DS1.git" | |
import struct | |
@@ -42,12 +42,12 @@ | |
from adafruit_bus_device import spi_device | |
from micropython import const | |
-try: | |
- from typing import Tuple | |
- from circuitpython_typing import WriteableBuffer | |
- from digitalio import DigitalInOut | |
- from busio import I2C, SPI | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
# Internal constants and register values: | |
--- libraries/drivers/ltr329_ltr303/adafruit_ltr329_ltr303.py | |
+++ libraries/drivers/ltr329_ltr303/adafruit_ltr329_ltr303.munged.py | |
@@ -33,13 +33,13 @@ | |
from adafruit_register.i2c_bit import RWBit | |
from adafruit_register.i2c_bits import RWBits | |
-try: | |
- from typing import Tuple | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LTR329_LTR303.git" | |
_LTR329_I2CADDR_DEFAULT: int = const(0x29) # Default I2C address | |
--- libraries/drivers/ltr390/adafruit_ltr390.py | |
+++ libraries/drivers/ltr390/adafruit_ltr390.munged.py | |
@@ -36,13 +36,13 @@ | |
from adafruit_register.i2c_bits import RWBits | |
from adafruit_register.i2c_bit import RWBit, ROBit | |
-try: | |
- from typing import Iterable, Optional, Tuple, Type | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LTR390.git" | |
_DEFAULT_I2C_ADDR = const(0x53) | |
--- libraries/drivers/matrixkeypad/adafruit_matrixkeypad.py | |
+++ libraries/drivers/matrixkeypad/adafruit_matrixkeypad.munged.py | |
@@ -29,13 +29,13 @@ | |
# Since the board may or may not have access to the typing library we need | |
# to have this in a try/except to enable type | |
-try: | |
- from typing import List | |
- from digitalio import DigitalInOut | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MatrixKeypad.git" | |
--- libraries/drivers/max1704x/adafruit_max1704x.py | |
+++ libraries/drivers/max1704x/adafruit_max1704x.munged.py | |
@@ -38,7 +38,7 @@ | |
except ImportError: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MAX1704x.git" | |
MAX1704X_I2CADDR_DEFAULT: int = const(0x36) # Default I2C address | |
--- libraries/drivers/max31855/adafruit_max31855.py | |
+++ libraries/drivers/max31855/adafruit_max31855.munged.py | |
@@ -32,14 +32,14 @@ | |
from adafruit_bus_device.spi_device import SPIDevice | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from digitalio import DigitalInOut | |
- from busio import SPI | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MAX31855.git" | |
--- libraries/drivers/max31856/adafruit_max31856.py | |
+++ libraries/drivers/max31856/adafruit_max31856.munged.py | |
@@ -32,12 +32,12 @@ | |
from micropython import const | |
from adafruit_bus_device.spi_device import SPIDevice | |
-try: | |
- from typing import Dict, Tuple | |
- from typing_extensions import Literal | |
- from busio import SPI | |
- from digitalio import DigitalInOut | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
try: | |
@@ -45,7 +45,7 @@ | |
except ImportError: | |
from ustruct import unpack | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MAX31856.git" | |
# Register constants | |
--- libraries/drivers/max31865/adafruit_max31865.py | |
+++ libraries/drivers/max31865/adafruit_max31865.munged.py | |
@@ -39,7 +39,7 @@ | |
from adafruit_bus_device import spi_device | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MAX31865.git" | |
# Register and other constant values: | |
--- libraries/drivers/max9744/adafruit_max9744.py | |
+++ libraries/drivers/max9744/adafruit_max9744.munged.py | |
@@ -24,19 +24,19 @@ | |
* Adafruit CircuitPython firmware for the ESP8622 and M0-based boards: | |
https://github.com/adafruit/circuitpython/releases | |
""" | |
-try: | |
- # Imports only used for typing. | |
- # First check if the the typing module exists, to avoid loading | |
- # other typing-only modules when running under circuitpython. | |
- import typing # pylint: disable=unused-import | |
- import busio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
from micropython import const | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MAX9744.git" | |
--- libraries/drivers/mcp4725/adafruit_mcp4725.py | |
+++ libraries/drivers/mcp4725/adafruit_mcp4725.munged.py | |
@@ -28,13 +28,13 @@ | |
from micropython import const | |
from adafruit_bus_device import i2c_device | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MCP4725.git" | |
--- libraries/drivers/mcp4728/adafruit_mcp4728.py | |
+++ libraries/drivers/mcp4728/adafruit_mcp4728.munged.py | |
@@ -25,18 +25,18 @@ | |
* Adafruit's Register library: https://github.com/adafruit/Adafruit_CircuitPython_Register | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MCP4728.git" | |
from struct import pack_into | |
from time import sleep | |
from adafruit_bus_device import i2c_device | |
-try: | |
- from typing import Dict, Iterable, Iterator, List, Optional, Tuple | |
- from typing_extensions import Literal | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
MCP4728_DEFAULT_ADDRESS = 0x60 | |
--- libraries/drivers/mcp9600/adafruit_mcp9600.py | |
+++ libraries/drivers/mcp9600/adafruit_mcp9600.munged.py | |
@@ -35,14 +35,14 @@ | |
from adafruit_register.i2c_bits import RWBits, ROBits | |
from adafruit_register.i2c_bit import RWBit, ROBit | |
-try: | |
- # Used only for typing | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MCP9600.git" | |
_DEFAULT_ADDRESS = const(0x67) | |
--- libraries/drivers/mcp9808/adafruit_mcp9808.py | |
+++ libraries/drivers/mcp9808/adafruit_mcp9808.munged.py | |
@@ -41,14 +41,14 @@ | |
from adafruit_register.i2c_bits import RWBits | |
from adafruit_register.i2c_bit import ROBit | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from typing_extensions import Literal | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MCP9808.git" | |
--- libraries/drivers/mlx90393/adafruit_mlx90393.py | |
+++ libraries/drivers/mlx90393/adafruit_mlx90393.munged.py | |
@@ -34,14 +34,14 @@ | |
from adafruit_bus_device.i2c_device import I2CDevice | |
from micropython import const | |
-try: | |
- from typing import Tuple | |
- from circuitpython_typing import ReadableBuffer | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MLX90393.git" | |
_CMD_SB = const(0b00010000) # Start burst mode | |
--- libraries/drivers/mlx90395/adafruit_mlx90395.py | |
+++ libraries/drivers/mlx90395/adafruit_mlx90395.munged.py | |
@@ -49,13 +49,13 @@ | |
# from adafruit_register.i2c_bit import RWBit | |
-try: | |
- from typing import Iterable, Optional, Tuple, Union | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https:#github.com/adafruit/Adafruit_CircuitPython_MLX90395.git" | |
_DEFAULT_ADDR = const(0x0C) ## Can also be 0x18, depending on IC */ | |
--- libraries/drivers/mlx90614/adafruit_mlx90614.py | |
+++ libraries/drivers/mlx90614/adafruit_mlx90614.munged.py | |
@@ -41,15 +41,15 @@ | |
from adafruit_bus_device import i2c_device | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
# imports | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_mlx90614.git" | |
# Internal constants: | |
--- libraries/drivers/mlx90640/adafruit_mlx90640.py | |
+++ libraries/drivers/mlx90640/adafruit_mlx90640.munged.py | |
@@ -27,13 +27,13 @@ | |
import time | |
from adafruit_bus_device.i2c_device import I2CDevice | |
-try: | |
- from typing import List, Optional, Tuple, Union | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MLX90640.git" | |
# We match the melexis library naming, and don't want to change | |
--- libraries/drivers/mma8451/adafruit_mma8451.py | |
+++ libraries/drivers/mma8451/adafruit_mma8451.munged.py | |
@@ -34,14 +34,14 @@ | |
from adafruit_bus_device import i2c_device | |
-try: | |
- from typing import Optional, Tuple | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MMA8451.git" | |
--- libraries/drivers/mmc56x3/adafruit_mmc56x3.py | |
+++ libraries/drivers/mmc56x3/adafruit_mmc56x3.munged.py | |
@@ -33,13 +33,13 @@ | |
from adafruit_register.i2c_struct import ROUnaryStruct, UnaryStruct | |
from adafruit_register.i2c_bit import RWBit | |
-try: | |
- from typing import Tuple | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MMC56x3.git" | |
_MMC5603_I2CADDR_DEFAULT: int = const(0x30) # Default I2C address | |
--- libraries/drivers/monsterm4sk/adafruit_monsterm4sk.py | |
+++ libraries/drivers/monsterm4sk/adafruit_monsterm4sk.munged.py | |
@@ -39,13 +39,13 @@ | |
from adafruit_st7789 import ST7789 | |
import adafruit_lis3dh | |
-try: | |
- from typing import Optional, Dict, Union | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MONSTERM4SK.git" | |
# Seesaw pin numbers | |
--- libraries/drivers/mpl115a2/adafruit_mpl115a2.py | |
+++ libraries/drivers/mpl115a2/adafruit_mpl115a2.munged.py | |
@@ -29,7 +29,7 @@ | |
from adafruit_bus_device import i2c_device | |
from micropython import const | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MPL115A2.git" | |
_MPL115A2_ADDRESS = const(0x60) | |
--- libraries/drivers/mpl3115a2/adafruit_mpl3115a2.py | |
+++ libraries/drivers/mpl3115a2/adafruit_mpl3115a2.munged.py | |
@@ -33,7 +33,7 @@ | |
from adafruit_bus_device import i2c_device | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MPL3115A2.git" | |
--- libraries/drivers/mpr121/adafruit_mpr121.py | |
+++ libraries/drivers/mpr121/adafruit_mpr121.munged.py | |
@@ -32,10 +32,10 @@ | |
import time | |
-try: | |
- from typing import List, Optional, Tuple | |
- import busio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
# typing hint modules not needed or not available in CircuitPython | |
pass | |
@@ -43,7 +43,7 @@ | |
from adafruit_bus_device import i2c_device | |
from micropython import const | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MPR121.git" | |
# Register addresses. Unused registers commented out to save memory. | |
--- libraries/drivers/mprls/adafruit_mprls.py | |
+++ libraries/drivers/mprls/adafruit_mprls.munged.py | |
@@ -29,7 +29,7 @@ | |
# imports | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MPRLS.git" | |
--- libraries/drivers/mpu6050/adafruit_mpu6050.py | |
+++ libraries/drivers/mpu6050/adafruit_mpu6050.munged.py | |
@@ -34,7 +34,7 @@ | |
# imports | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MPU6050.git" | |
from math import radians | |
@@ -45,10 +45,10 @@ | |
from adafruit_register.i2c_bits import RWBits | |
from adafruit_bus_device import i2c_device | |
-try: | |
- from typing import Tuple | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_MPU6050_DEFAULT_ADDRESS = 0x68 # MPU6050 default i2c address w/ AD0 low | |
--- libraries/drivers/ms8607/adafruit_ms8607.py | |
+++ libraries/drivers/ms8607/adafruit_ms8607.munged.py | |
@@ -29,7 +29,7 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https:#github.com/adafruit/Adafruit_CircuitPython_MS8607.git" | |
--- libraries/drivers/msa301/adafruit_msa3xx.py | |
+++ libraries/drivers/msa301/adafruit_msa3xx.munged.py | |
@@ -31,7 +31,7 @@ | |
https://github.com/adafruit/Adafruit_CircuitPython_Register | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MSA301.git" | |
from micropython import const | |
--- libraries/drivers/neopxl8/adafruit_neopxl8.py | |
+++ libraries/drivers/neopxl8/adafruit_neopxl8.munged.py | |
@@ -19,7 +19,7 @@ | |
import adafruit_pixelbuf | |
import rp2pio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_NeoPxl8.git" | |
--- libraries/drivers/nunchuk/adafruit_nunchuk.py | |
+++ libraries/drivers/nunchuk/adafruit_nunchuk.munged.py | |
@@ -29,13 +29,13 @@ | |
from collections import namedtuple | |
from adafruit_bus_device.i2c_device import I2CDevice | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Nunchuk.git" | |
_I2C_INIT_DELAY = 0.1 | |
--- libraries/drivers/ov2640/adafruit_ov2640.py | |
+++ libraries/drivers/ov2640/adafruit_ov2640.munged.py | |
@@ -29,7 +29,7 @@ | |
# pylint: disable=too-many-lines,unnecessary-lambda-assignment | |
# imports | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_OV7670.git" | |
import time | |
--- libraries/drivers/ov5640/adafruit_ov5640.py | |
+++ libraries/drivers/ov5640/adafruit_ov5640.munged.py | |
@@ -32,15 +32,15 @@ | |
import pwmio | |
from adafruit_bus_device.i2c_device import I2CDevice | |
-try: | |
- from typing import Optional, Sequence, List, Union | |
- from busio import I2C | |
- from microcontroller import Pin | |
- from digitalio import DigitalInOut | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ov5640.git" | |
from micropython import const | |
--- libraries/drivers/ov7670/adafruit_ov7670.py | |
+++ libraries/drivers/ov7670/adafruit_ov7670.munged.py | |
@@ -26,7 +26,7 @@ | |
# imports | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_OV7670.git" | |
import time | |
@@ -37,12 +37,12 @@ | |
from adafruit_bus_device.i2c_device import I2CDevice | |
from micropython import const | |
-try: | |
- from typing import List, Optional | |
- from busio import I2C | |
- from microcontroller import Pin | |
- from circuitpython_typing import WriteableBuffer | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
# Supported color formats | |
--- libraries/drivers/pca9554/adafruit_pca9554.py | |
+++ libraries/drivers/pca9554/adafruit_pca9554.munged.py | |
@@ -25,11 +25,11 @@ | |
* Adafruit's Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice | |
""" | |
-try: | |
- # This is only needed for typing | |
- from typing import Optional | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
@@ -37,7 +37,7 @@ | |
from micropython import const | |
import digitalio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PCA9554.git" | |
--- libraries/drivers/pca9685/adafruit_pca9685.py | |
+++ libraries/drivers/pca9685/adafruit_pca9685.munged.py | |
@@ -31,7 +31,7 @@ | |
* Adafruit's Register library: https://github.com/adafruit/Adafruit_CircuitPython_Register | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PCA9685.git" | |
import time | |
@@ -40,11 +40,11 @@ | |
from adafruit_register.i2c_struct_array import StructArray | |
from adafruit_bus_device import i2c_device | |
-try: | |
- from typing import Optional, Type | |
- from types import TracebackType | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/pcd8544/adafruit_pcd8544.py | |
+++ libraries/drivers/pcd8544/adafruit_pcd8544.munged.py | |
@@ -36,14 +36,14 @@ | |
except ImportError: | |
import adafruit_framebuf as framebuf | |
-try: | |
- from typing import Optional | |
- from digitalio import DigitalInOut | |
- from busio import SPI | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PCD8544.git" | |
_LCDWIDTH = const(84) | |
--- libraries/drivers/pcf8574/adafruit_pcf8574.py | |
+++ libraries/drivers/pcf8574/adafruit_pcf8574.munged.py | |
@@ -26,11 +26,11 @@ | |
""" | |
-try: | |
- # This is only needed for typing | |
- from typing import Optional | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
@@ -38,7 +38,7 @@ | |
from micropython import const | |
import digitalio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PCF8574.git" | |
--- libraries/drivers/pcf8575/adafruit_pcf8575.py | |
+++ libraries/drivers/pcf8575/adafruit_pcf8575.munged.py | |
@@ -26,10 +26,10 @@ | |
""" | |
-try: | |
- from typing import Optional | |
- import busio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
@@ -37,7 +37,7 @@ | |
from micropython import const | |
import digitalio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PCF8575.git" | |
PCF8575_I2CADDR_DEFAULT: int = const(0x20) # Default I2C address | |
--- libraries/drivers/pct2075/adafruit_pct2075.py | |
+++ libraries/drivers/pct2075/adafruit_pct2075.munged.py | |
@@ -37,13 +37,13 @@ | |
from adafruit_register.i2c_bit import RWBit | |
import adafruit_bus_device.i2c_device as i2cdevice | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PCT2075.git" | |
# pylint: disable=too-few-public-methods | |
PCT2075_DEFAULT_ADDRESS = 0x37 # Address is configured with pins A0-A2 | |
--- libraries/drivers/pixie/adafruit_pixie.py | |
+++ libraries/drivers/pixie/adafruit_pixie.munged.py | |
@@ -12,13 +12,13 @@ | |
import time | |
import math | |
-try: | |
- from typing import Union, Tuple | |
- from busio import UART | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Pixie.git" | |
--- libraries/drivers/rfm69/adafruit_rfm69.py | |
+++ libraries/drivers/rfm69/adafruit_rfm69.munged.py | |
@@ -61,15 +61,15 @@ | |
except ImportError: | |
pass | |
-try: | |
- from typing import Callable, Optional, Type | |
- from circuitpython_typing import WriteableBuffer, ReadableBuffer | |
- from digitalio import DigitalInOut | |
- from busio import SPI | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RFM69.git" | |
--- libraries/drivers/rfm9x/adafruit_rfm9x.py | |
+++ libraries/drivers/rfm9x/adafruit_rfm9x.munged.py | |
@@ -27,21 +27,21 @@ | |
except ImportError: | |
pass | |
-try: | |
- from typing import Optional, Type | |
- from digitalio import DigitalInOut | |
- from busio import SPI | |
- from circuitpython_typing import WriteableBuffer, ReadableBuffer | |
- | |
- try: | |
- from typing import Literal | |
- except ImportError: | |
- from typing_extensions import Literal | |
- | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RFM9x.git" | |
# Internal constants: | |
--- libraries/drivers/rockblock/adafruit_rockblock.py | |
+++ libraries/drivers/rockblock/adafruit_rockblock.munged.py | |
@@ -24,19 +24,19 @@ | |
https://github.com/adafruit/circuitpython/releases | |
""" | |
-from __future__ import annotations | |
- | |
-try: | |
- from typing import Tuple, Union, Optional | |
- from busio import UART | |
- from serial import Serial | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import time | |
import struct | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RockBlock.git" | |
--- libraries/drivers/rplidar/adafruit_rplidar.py | |
+++ libraries/drivers/rplidar/adafruit_rplidar.munged.py | |
@@ -33,17 +33,17 @@ | |
import warnings | |
from collections import namedtuple | |
-try: | |
- from typing import Tuple, Dict, Any, Optional, List, Iterator, Union | |
- from busio import UART | |
- from digitalio import DigitalInOut | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
# pylint:disable=invalid-name,undefined-variable,global-variable-not-assigned | |
# pylint:disable=too-many-arguments,raise-missing-from,too-many-instance-attributes | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RPLIDAR.git" | |
SYNC_BYTE = b"\xA5" | |
--- libraries/drivers/scd30/adafruit_scd30.py | |
+++ libraries/drivers/scd30/adafruit_scd30.munged.py | |
@@ -33,14 +33,14 @@ | |
from adafruit_bus_device import i2c_device | |
from micropython import const | |
-try: | |
- from typing import Union, Optional | |
- from circuitpython_typing import ReadableBuffer | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SCD30.git" | |
SCD30_DEFAULT_ADDR = 0x61 | |
--- libraries/drivers/scd4x/adafruit_scd4x.py | |
+++ libraries/drivers/scd4x/adafruit_scd4x.munged.py | |
@@ -31,13 +31,13 @@ | |
from adafruit_bus_device import i2c_device | |
from micropython import const | |
-try: | |
- from typing import Tuple, Union | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SCD4X.git" | |
SCD4X_DEFAULT_ADDR = 0x62 | |
--- libraries/drivers/sdcard/adafruit_sdcard.py | |
+++ libraries/drivers/sdcard/adafruit_sdcard.munged.py | |
@@ -44,15 +44,15 @@ | |
from micropython import const | |
from adafruit_bus_device import spi_device | |
-try: | |
- from typing import Union, Optional | |
- from busio import SPI | |
- from digitalio import DigitalInOut | |
- from circuitpython_typing import ReadableBuffer, WriteableBuffer | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SD.git" | |
_CMD_TIMEOUT = const(200) | |
--- libraries/drivers/sgp30/adafruit_sgp30.py | |
+++ libraries/drivers/sgp30/adafruit_sgp30.munged.py | |
@@ -29,13 +29,13 @@ | |
from adafruit_bus_device.i2c_device import I2CDevice | |
from micropython import const | |
-try: | |
- from typing import List, Tuple | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SGP30.git" | |
--- libraries/drivers/sharpmemorydisplay/adafruit_sharpmemorydisplay.py | |
+++ libraries/drivers/sharpmemorydisplay/adafruit_sharpmemorydisplay.munged.py | |
@@ -27,16 +27,16 @@ | |
""" | |
# pylint: enable=line-too-long | |
-from __future__ import annotations | |
-try: | |
- # pylint: disable=unused-import | |
- import typing | |
- from busio import SPI | |
- from digitalio import DigitalInOut | |
- from circuitpython_typing.pil import Image | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import adafruit_framebuf | |
@@ -48,7 +48,7 @@ | |
except ImportError: | |
numpy = None | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SharpMemoryDisplay.git" | |
_SHARPMEM_BIT_WRITECMD = const(0x80) # in lsb | |
--- libraries/drivers/sht31/adafruit_sht31d.py | |
+++ libraries/drivers/sht31/adafruit_sht31d.munged.py | |
@@ -33,16 +33,16 @@ | |
from micropython import const | |
from adafruit_bus_device.i2c_device import I2CDevice | |
-try: | |
- from typing import List, Tuple, Union | |
- from typing_extensions import Literal | |
- from circuitpython_typing import ReadableBuffer | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SHT31D.git" | |
--- libraries/drivers/sht4x/adafruit_sht4x.py | |
+++ libraries/drivers/sht4x/adafruit_sht4x.munged.py | |
@@ -33,13 +33,13 @@ | |
from adafruit_bus_device import i2c_device | |
from micropython import const | |
-try: | |
- from typing import Tuple | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SHT4x.git" | |
--- libraries/drivers/shtc3/adafruit_shtc3.py | |
+++ libraries/drivers/shtc3/adafruit_shtc3.munged.py | |
@@ -34,17 +34,17 @@ | |
# imports | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SHTC3.git" | |
from struct import unpack_from | |
import time | |
from adafruit_bus_device import i2c_device | |
-try: | |
- from typing import Tuple | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
# include "Arduino.h" | |
--- libraries/drivers/si1145/adafruit_si1145.py | |
+++ libraries/drivers/si1145/adafruit_si1145.munged.py | |
@@ -31,13 +31,13 @@ | |
from adafruit_bus_device import i2c_device | |
from adafruit_register.i2c_struct import Struct | |
-try: | |
- from typing import Tuple, Union | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SI1145.git" | |
# Registers | |
--- libraries/drivers/si4713/adafruit_si4713.py | |
+++ libraries/drivers/si4713/adafruit_si4713.munged.py | |
@@ -38,15 +38,15 @@ | |
from adafruit_bus_device import i2c_device | |
-try: | |
- from typing import Optional | |
- from circuitpython_typing import WriteableBuffer, ReadableBuffer | |
- from digitalio import DigitalInOut | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SI4713.git" | |
--- libraries/drivers/si5351/adafruit_si5351.py | |
+++ libraries/drivers/si5351/adafruit_si5351.munged.py | |
@@ -33,7 +33,7 @@ | |
from micropython import const | |
-__version__ = "0.0.0-auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SI5351.git" | |
--- libraries/drivers/spd1656/adafruit_spd1656.py | |
+++ libraries/drivers/spd1656/adafruit_spd1656.munged.py | |
@@ -25,7 +25,7 @@ | |
import epaperdisplay | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SPD1656.git" | |
_START_SEQUENCE = ( | |
--- libraries/drivers/ssd1305/adafruit_ssd1305.py | |
+++ libraries/drivers/ssd1305/adafruit_ssd1305.munged.py | |
@@ -27,7 +27,7 @@ | |
# imports | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SSD1305.git" | |
@@ -41,15 +41,15 @@ | |
except ImportError: | |
import adafruit_framebuf as framebuf | |
-try: | |
- # Used only for typing | |
- from typing import Optional | |
- from digitalio import DigitalInOut | |
- from busio import I2C, SPI | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SSD1305.git" | |
# register definitions | |
--- libraries/drivers/ssd1306/adafruit_ssd1306.py | |
+++ libraries/drivers/ssd1306/adafruit_ssd1306.munged.py | |
@@ -27,15 +27,15 @@ | |
_FRAMEBUF_FORMAT = framebuf.MVLSB | |
-try: | |
- # Used only for typing | |
- from typing import Optional | |
- import busio | |
- import digitalio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SSD1306.git" | |
# register definitions | |
--- libraries/drivers/ssd1322/adafruit_ssd1322.py | |
+++ libraries/drivers/ssd1322/adafruit_ssd1322.munged.py | |
@@ -28,7 +28,7 @@ | |
import displayio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SSD1322.git" | |
_INIT_SEQUENCE = ( | |
--- libraries/drivers/ssd1325/adafruit_ssd1325.py | |
+++ libraries/drivers/ssd1325/adafruit_ssd1325.munged.py | |
@@ -25,9 +25,9 @@ | |
""" | |
-try: | |
- from typing import Union | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
# Support both 8.x.x and 9.x.x. Change when 8.x.x is discontinued as a stable release. | |
@@ -40,7 +40,7 @@ | |
from displayio import Display as BusDisplay | |
from busio import I2C as I2CDisplayBus | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SSD1325.git" | |
_INIT_SEQUENCE = ( | |
--- libraries/drivers/ssd1327/adafruit_ssd1327.py | |
+++ libraries/drivers/ssd1327/adafruit_ssd1327.munged.py | |
@@ -28,7 +28,7 @@ | |
import displayio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SSD1327.git" | |
_INIT_SEQUENCE = ( | |
--- libraries/drivers/ssd1331/adafruit_ssd1331.py | |
+++ libraries/drivers/ssd1331/adafruit_ssd1331.munged.py | |
@@ -35,7 +35,7 @@ | |
from displayio import FourWire | |
from displayio import Display as BusDisplay | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SSD1331.git" | |
_INIT_SEQUENCE = ( | |
--- libraries/drivers/ssd1351/adafruit_ssd1351.py | |
+++ libraries/drivers/ssd1351/adafruit_ssd1351.munged.py | |
@@ -30,7 +30,7 @@ | |
import displayio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SSD1351.git" | |
_INIT_SEQUENCE = ( | |
--- libraries/drivers/ssd1608/adafruit_ssd1608.py | |
+++ libraries/drivers/ssd1608/adafruit_ssd1608.munged.py | |
@@ -27,7 +27,7 @@ | |
import displayio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SSD1608.git" | |
_START_SEQUENCE = ( | |
--- libraries/drivers/ssd1675/adafruit_ssd1675.py | |
+++ libraries/drivers/ssd1675/adafruit_ssd1675.munged.py | |
@@ -36,7 +36,7 @@ | |
from displayio import EPaperDisplay | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SSD1675.git" | |
_START_SEQUENCE = ( | |
--- libraries/drivers/ssd1680/adafruit_ssd1680.py | |
+++ libraries/drivers/ssd1680/adafruit_ssd1680.munged.py | |
@@ -36,7 +36,7 @@ | |
from displayio import FourWire | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SSD1680.git" | |
_START_SEQUENCE = ( | |
--- libraries/drivers/ssd1681/adafruit_ssd1681.py | |
+++ libraries/drivers/ssd1681/adafruit_ssd1681.munged.py | |
@@ -33,7 +33,7 @@ | |
from displayio import FourWire | |
from displayio import EPaperDisplay | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SSD1681.git" | |
_START_SEQUENCE = ( | |
--- libraries/drivers/st7565/adafruit_st7565.py | |
+++ libraries/drivers/st7565/adafruit_st7565.munged.py | |
@@ -32,11 +32,11 @@ | |
from micropython import const | |
from adafruit_bus_device import spi_device | |
-try: | |
- from typing import Optional | |
- from digitalio import DigitalInOut | |
- from busio import SPI | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
try: | |
@@ -44,7 +44,7 @@ | |
except ImportError: | |
import adafruit_framebuf as framebuf | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ST7565.git" | |
--- libraries/drivers/st7735/adafruit_st7735.py | |
+++ libraries/drivers/st7735/adafruit_st7735.munged.py | |
@@ -25,7 +25,7 @@ | |
import displayio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ST7735.git" | |
_INIT_SEQUENCE = ( | |
--- libraries/drivers/st7735r/adafruit_st7735r.py | |
+++ libraries/drivers/st7735r/adafruit_st7735r.munged.py | |
@@ -33,10 +33,10 @@ | |
https://circuitpython.org/downloads | |
""" | |
-try: | |
- # used for typing only | |
- from typing import Any | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
# Support both 8.x.x and 9.x.x. Change when 8.x.x is discontinued as a stable release. | |
@@ -47,7 +47,7 @@ | |
from displayio import FourWire | |
from displayio import Display as BusDisplay | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ST7735R.git" | |
_INIT_SEQUENCE = bytearray( | |
--- libraries/drivers/st7789/adafruit_st7789.py | |
+++ libraries/drivers/st7789/adafruit_st7789.munged.py | |
@@ -49,7 +49,7 @@ | |
from displayio import FourWire | |
from displayio import Display as BusDisplay | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ST7789.git" | |
_INIT_SEQUENCE = ( | |
--- libraries/drivers/stmpe610/adafruit_stmpe610.py | |
+++ libraries/drivers/stmpe610/adafruit_stmpe610.munged.py | |
@@ -26,15 +26,15 @@ | |
import time | |
from micropython import const | |
-try: | |
- from typing import Dict, List, Optional, Tuple | |
- from typing_extensions import Literal | |
- from microcontroller import Pin | |
- from busio import I2C, SPI | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_STMPE610.git" | |
--- libraries/drivers/tc74/adafruit_tc74.py | |
+++ libraries/drivers/tc74/adafruit_tc74.munged.py | |
@@ -29,13 +29,13 @@ | |
from adafruit_register.i2c_bit import RWBit, ROBit | |
import adafruit_bus_device.i2c_device as i2cdevice | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_TC74.git" | |
# pylint: disable=too-few-public-methods | |
TC74_DEFAULT_ADDRESS = 0x48 | |
--- libraries/drivers/tca8418/adafruit_tca8418.py | |
+++ libraries/drivers/tca8418/adafruit_tca8418.munged.py | |
@@ -33,14 +33,14 @@ | |
from adafruit_register.i2c_bits import ROBits | |
import digitalio | |
-try: | |
- from typing import Optional | |
- from typing_extensions import Literal | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0-auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_TCA8418.git" | |
TCA8418_I2CADDR_DEFAULT: int = const(0x34) # Default I2C address | |
--- libraries/drivers/tca9584a/adafruit_tca9548a.py | |
+++ libraries/drivers/tca9584a/adafruit_tca9548a.munged.py | |
@@ -32,17 +32,17 @@ | |
import time | |
from micropython import const | |
-try: | |
- from typing import List | |
- from typing_extensions import Literal | |
- from circuitpython_typing import WriteableBuffer, ReadableBuffer | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_DEFAULT_ADDRESS = const(0x70) | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_TCA9548A.git" | |
--- libraries/drivers/tcs34725/adafruit_tcs34725.py | |
+++ libraries/drivers/tcs34725/adafruit_tcs34725.munged.py | |
@@ -39,13 +39,13 @@ | |
from adafruit_bus_device import i2c_device | |
from micropython import const | |
-try: | |
- from typing import Tuple | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_TCS34725.git" | |
# Register and command constants: | |
--- libraries/drivers/tfmini/adafruit_tfmini.py | |
+++ libraries/drivers/tfmini/adafruit_tfmini.munged.py | |
@@ -25,15 +25,15 @@ | |
import time | |
import struct | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from typing_extensions import Literal | |
- from circuitpython_typing import ReadableBuffer | |
- from busio import UART | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_TFmini.git" | |
_STARTCONFIG = b"\x42\x57\x02\x00\x00\x00\x01\x02" | |
--- libraries/drivers/thermistor/adafruit_thermistor.py | |
+++ libraries/drivers/thermistor/adafruit_thermistor.munged.py | |
@@ -40,13 +40,13 @@ | |
import math | |
import analogio | |
-try: | |
- import typing # pylint: disable=unused-import | |
- import microcontroller | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Thermistor.git" | |
--- libraries/drivers/tlc5947/adafruit_tlc5947.py | |
+++ libraries/drivers/tlc5947/adafruit_tlc5947.munged.py | |
@@ -31,7 +31,7 @@ | |
except ImportError: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_TLC5947.git" | |
--- libraries/drivers/tlc59711/adafruit_tlc59711.py | |
+++ libraries/drivers/tlc59711/adafruit_tlc59711.munged.py | |
@@ -30,7 +30,7 @@ | |
* Adafruit CircuitPython firmware for the supported boards: | |
https://circuitpython.org/downloads | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_TLC59711.git" | |
@@ -49,10 +49,10 @@ | |
from micropython import const | |
-try: | |
- from typing import Dict, List, Optional, Tuple | |
- from busio import SPI | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_CHIP_BUFFER_BYTE_COUNT = const(28) | |
--- libraries/drivers/tlv493d/adafruit_tlv493d.py | |
+++ libraries/drivers/tlv493d/adafruit_tlv493d.munged.py | |
@@ -32,13 +32,13 @@ | |
import adafruit_bus_device.i2c_device as i2cdevice | |
from micropython import const | |
-try: | |
- from typing import Tuple | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_TLV493D.git" | |
_TLV493D_DEFAULT_ADDRESS = const(0x5E) | |
--- libraries/drivers/tmp006/adafruit_tmp006.py | |
+++ libraries/drivers/tmp006/adafruit_tmp006.munged.py | |
@@ -36,7 +36,7 @@ | |
except ImportError: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_TMP006.git" | |
# Default device I2C address. | |
--- libraries/drivers/tmp007/adafruit_tmp007.py | |
+++ libraries/drivers/tmp007/adafruit_tmp007.munged.py | |
@@ -34,7 +34,7 @@ | |
except ImportError: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_TMP007.git" | |
--- libraries/drivers/tmp117/adafruit_tmp117.py | |
+++ libraries/drivers/tmp117/adafruit_tmp117.munged.py | |
@@ -46,13 +46,13 @@ | |
from adafruit_register.i2c_bit import RWBit, ROBit | |
from adafruit_register.i2c_bits import RWBits, ROBits | |
-try: | |
- from typing import Sequence, Tuple, Optional, Union | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https:#github.com/adafruit/Adafruit_CircuitPython_TMP117.git" | |
--- libraries/drivers/touchscreen/adafruit_touchscreen.py | |
+++ libraries/drivers/touchscreen/adafruit_touchscreen.munged.py | |
@@ -21,16 +21,16 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Touchscreen.git" | |
from digitalio import DigitalInOut | |
from analogio import AnalogIn | |
-try: | |
- from typing import Optional, Tuple | |
- from microcontroller import Pin | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/tpa2016/adafruit_tpa2016.py | |
+++ libraries/drivers/tpa2016/adafruit_tpa2016.munged.py | |
@@ -32,13 +32,13 @@ | |
from adafruit_register.i2c_bits import RWBits | |
from adafruit_register.i2c_bit import RWBit | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_TPA2016.git" | |
--- libraries/drivers/trellis/adafruit_trellis.py | |
+++ libraries/drivers/trellis/adafruit_trellis.munged.py | |
@@ -43,17 +43,17 @@ | |
* Adafruit's Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Trellis.git" | |
from micropython import const | |
from adafruit_bus_device import i2c_device | |
-try: | |
- from typing import List, Optional, Tuple | |
- from typing_extensions import Literal | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
# HT16K33 Command Contstants | |
--- libraries/drivers/trellism4/adafruit_trellism4.py | |
+++ libraries/drivers/trellism4/adafruit_trellism4.munged.py | |
@@ -30,14 +30,14 @@ | |
import neopixel | |
import adafruit_matrixkeypad | |
-try: | |
- from typing import List, Optional, Tuple, Union | |
- from typing_extensions import Literal | |
- from microcontroller import Pin | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_TrellisM4.git" | |
--- libraries/drivers/tsc2007/adafruit_tsc2007.py | |
+++ libraries/drivers/tsc2007/adafruit_tsc2007.munged.py | |
@@ -32,14 +32,14 @@ | |
import digitalio | |
from adafruit_bus_device import i2c_device | |
-try: | |
- # Used only for typing | |
- from typing import Union | |
- import busio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_TSC2007.git" | |
TSC2007_MEASURE_TEMP0 = 0 | |
--- libraries/drivers/tsl2561/adafruit_tsl2561.py | |
+++ libraries/drivers/tsl2561/adafruit_tsl2561.munged.py | |
@@ -33,13 +33,13 @@ | |
from adafruit_bus_device.i2c_device import I2CDevice | |
from micropython import const | |
-try: | |
- from typing import Optional, Tuple, Union | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_TSL2561.git" | |
_DEFAULT_ADDRESS = const(0x39) | |
--- libraries/drivers/tsl2591/adafruit_tsl2591.py | |
+++ libraries/drivers/tsl2591/adafruit_tsl2591.munged.py | |
@@ -30,13 +30,13 @@ | |
from adafruit_bus_device import i2c_device | |
-try: | |
- from typing import Tuple | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_TSL2591.git" | |
--- libraries/drivers/tt21100/adafruit_tt21100.py | |
+++ libraries/drivers/tt21100/adafruit_tt21100.munged.py | |
@@ -26,7 +26,7 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_TT21100.git" | |
import array | |
@@ -35,9 +35,9 @@ | |
from adafruit_bus_device.i2c_device import I2CDevice | |
-try: | |
- from typing import List | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
# This is based on: | |
--- libraries/drivers/uc8151d/adafruit_uc8151d.py | |
+++ libraries/drivers/uc8151d/adafruit_uc8151d.munged.py | |
@@ -35,7 +35,7 @@ | |
from displayio import EPaperDisplay | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_UC8151D.git" | |
_START_SEQUENCE = ( | |
--- libraries/drivers/us100/adafruit_us100.py | |
+++ libraries/drivers/us100/adafruit_us100.munged.py | |
@@ -20,15 +20,15 @@ | |
https://github.com/adafruit/circuitpython/releases | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_US100.git" | |
import time | |
-try: | |
- from typing import Optional | |
- from busio import UART | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/vc0706/adafruit_vc0706.py | |
+++ libraries/drivers/vc0706/adafruit_vc0706.munged.py | |
@@ -27,19 +27,19 @@ | |
""" | |
from micropython import const | |
-try: | |
- from typing import Optional | |
- import circuitpython_typing | |
- import busio | |
- | |
- try: | |
- from typing import Literal | |
- except ImportError: | |
- from typing_extensions import Literal | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_VC0706.git" | |
_SERIAL = const(0x00) | |
--- libraries/drivers/vcnl4010/adafruit_vcnl4010.py | |
+++ libraries/drivers/vcnl4010/adafruit_vcnl4010.munged.py | |
@@ -30,13 +30,13 @@ | |
from adafruit_bus_device import i2c_device | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_VCNL4010.git" | |
--- libraries/drivers/vcnl4020/adafruit_vcnl4020.py | |
+++ libraries/drivers/vcnl4020/adafruit_vcnl4020.munged.py | |
@@ -37,13 +37,13 @@ | |
from adafruit_register.i2c_bit import ROBit, RWBit | |
from adafruit_register.i2c_bits import RWBits | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_VCNL4020.git" | |
_I2C_ADDRESS = const(0x13) | |
--- libraries/drivers/vcnl4040/adafruit_vcnl4040.py | |
+++ libraries/drivers/vcnl4040/adafruit_vcnl4040.munged.py | |
@@ -34,14 +34,14 @@ | |
from adafruit_register.i2c_bits import RWBits | |
from adafruit_register.i2c_bit import RWBit | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_VCNL4040.git" | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/veml6070/adafruit_veml6070.py | |
+++ libraries/drivers/veml6070/adafruit_veml6070.munged.py | |
@@ -49,16 +49,16 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_VEML6070.git" | |
from adafruit_bus_device.i2c_device import I2CDevice | |
from micropython import const | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/veml6075/adafruit_veml6075.py | |
+++ libraries/drivers/veml6075/adafruit_veml6075.munged.py | |
@@ -24,7 +24,7 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_VEML6075.git" | |
# imports | |
@@ -33,10 +33,10 @@ | |
from adafruit_bus_device.i2c_device import I2CDevice | |
from micropython import const | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_VEML6075_ADDR = const(0x10) | |
--- libraries/drivers/veml7700/adafruit_veml7700.py | |
+++ libraries/drivers/veml7700/adafruit_veml7700.munged.py | |
@@ -37,13 +37,13 @@ | |
from adafruit_register.i2c_bits import RWBits | |
from adafruit_register.i2c_bit import RWBit, ROBit | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_VEML7700.git" | |
--- libraries/drivers/vl53l0x/adafruit_vl53l0x.py | |
+++ libraries/drivers/vl53l0x/adafruit_vl53l0x.munged.py | |
@@ -34,14 +34,14 @@ | |
from adafruit_bus_device import i2c_device | |
from micropython import const | |
-try: | |
- from typing import Optional, Tuple, Type | |
- from types import TracebackType | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_VL53L0X.git" | |
# Configuration constants: | |
--- libraries/drivers/vl53l1x/adafruit_vl53l1x.py | |
+++ libraries/drivers/vl53l1x/adafruit_vl53l1x.munged.py | |
@@ -31,7 +31,7 @@ | |
from adafruit_bus_device import i2c_device | |
from micropython import const | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_VL53L1X.git" | |
_VL53L1X_I2C_SLAVE_DEVICE_ADDRESS = const(0x0001) | |
--- libraries/drivers/vl53l4cd/adafruit_vl53l4cd.py | |
+++ libraries/drivers/vl53l4cd/adafruit_vl53l4cd.munged.py | |
@@ -30,7 +30,7 @@ | |
from adafruit_bus_device import i2c_device | |
from micropython import const | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_VL53L4CD.git" | |
_VL53L4CD_SOFT_RESET = const(0x0000) | |
--- libraries/drivers/vl6180x/adafruit_vl6180x.py | |
+++ libraries/drivers/vl6180x/adafruit_vl6180x.munged.py | |
@@ -32,14 +32,14 @@ | |
from adafruit_bus_device import i2c_device | |
-try: | |
- from typing import Optional, List | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_VL6180X.git" | |
# Registers | |
--- libraries/drivers/vs1053/adafruit_vs1053.py | |
+++ libraries/drivers/vs1053/adafruit_vs1053.munged.py | |
@@ -45,15 +45,15 @@ | |
from micropython import const | |
from adafruit_bus_device.spi_device import SPIDevice | |
-try: | |
- from typing import Optional | |
- from circuitpython_typing import ReadableBuffer | |
- from microcontroller import Pin | |
- from busio import SPI | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_VS1053.git" | |
_COMMAND_BAUDRATE = const(250000) # Speed for command transfers (MUST be slow) | |
--- libraries/drivers/wii_classic/adafruit_wii_classic.py | |
+++ libraries/drivers/wii_classic/adafruit_wii_classic.munged.py | |
@@ -30,13 +30,13 @@ | |
from collections import namedtuple | |
from adafruit_bus_device.i2c_device import I2CDevice | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Wii_Classic.git" | |
_I2C_INIT_DELAY = 0.1 | |
--- libraries/drivers/ws2801/adafruit_ws2801.py | |
+++ libraries/drivers/ws2801/adafruit_ws2801.munged.py | |
@@ -16,13 +16,13 @@ | |
import busio | |
import digitalio | |
-try: | |
- from typing import Any, Union, Tuple, List | |
- from microcontroller import Pin | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_WS2801.git" | |
# based on https://github.com/adafruit/Adafruit_CircuitPython_DotStar | |
--- libraries/helpers/avrprog/adafruit_avrprog.py | |
+++ libraries/helpers/avrprog/adafruit_avrprog.munged.py | |
@@ -29,7 +29,7 @@ | |
# imports | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_AVRprog.git" | |
from digitalio import Direction, DigitalInOut | |
--- libraries/helpers/AWS_IOT/adafruit_aws_iot.py | |
+++ libraries/helpers/AWS_IOT/adafruit_aws_iot.munged.py | |
@@ -26,14 +26,14 @@ | |
import json | |
from adafruit_minimqtt.adafruit_minimqtt import MMQTTException | |
-try: | |
- from typing import Optional, Type, Union | |
- from types import TracebackType | |
- from adafruit_minimqtt.adafruit_minimqtt import MQTT | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_AWS_IOT.git" | |
--- libraries/helpers/binascii/adafruit_binascii.py | |
+++ libraries/helpers/binascii/adafruit_binascii.munged.py | |
@@ -22,14 +22,14 @@ | |
https://github.com/adafruit/circuitpython/releases | |
""" | |
-try: | |
- from typing import Union | |
- from circuitpython_typing import ReadableBuffer | |
- from binascii import hexlify, unhexlify | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_binascii.git" | |
# fmt: off | |
--- libraries/helpers/bitbangio/adafruit_bitbangio.py | |
+++ libraries/helpers/bitbangio/adafruit_bitbangio.munged.py | |
@@ -23,20 +23,20 @@ | |
""" | |
-try: | |
- from typing import List, Optional, Type | |
- from typing_extensions import Literal | |
- from types import TracebackType | |
- from circuitpython_typing import WriteableBuffer, ReadableBuffer | |
- from microcontroller import Pin | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
# imports | |
from time import monotonic | |
from digitalio import DigitalInOut | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BitbangIO.git" | |
MSBFIRST = 0 | |
--- libraries/helpers/bitmapsaver/adafruit_bitmapsaver.py | |
+++ libraries/helpers/bitmapsaver/adafruit_bitmapsaver.munged.py | |
@@ -33,13 +33,13 @@ | |
import board | |
from displayio import Bitmap, Palette, Display, ColorConverter | |
-try: | |
- from typing import Tuple, Optional, Union | |
- from io import BufferedWriter | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BitmapSaver.git" | |
--- libraries/helpers/ble_apple_media/adafruit_ble_apple_media.py | |
+++ libraries/helpers/ble_apple_media/adafruit_ble_apple_media.munged.py | |
@@ -12,11 +12,11 @@ | |
https://developer.apple.com/library/archive/documentation/CoreBluetooth/Reference/AppleMediaService_Reference/Introduction/Introduction.html#//apple_ref/doc/uid/TP40014716-CH2-SW1 | |
""" | |
-try: | |
- from typing import Union, Type | |
- | |
- AppleMediaServiceType = Union["AppleMediaService", Type["AppleMediaService"]] | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import struct | |
@@ -29,7 +29,7 @@ | |
from adafruit_ble.uuid import VendorUUID | |
from adafruit_ble.services import Service | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Apple_Media.git" | |
# Disable protected access checks since our private classes are tightly coupled. | |
--- libraries/helpers/ble_apple_notification_center/adafruit_ble_apple_notification_center.py | |
+++ libraries/helpers/ble_apple_notification_center/adafruit_ble_apple_notification_center.munged.py | |
@@ -17,21 +17,21 @@ | |
* Adafruit's BLE library: https://github.com/adafruit/Adafruit_CircuitPython_BLE | |
""" | |
-from __future__ import annotations | |
+ | |
import struct | |
import time | |
-try: | |
- from typing import Generator, Union, Dict, Optional, Any | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
from adafruit_ble.services import Service | |
from adafruit_ble.uuid import VendorUUID | |
from adafruit_ble.characteristics.stream import StreamIn, StreamOut | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Apple_Notification_Center.git" | |
--- libraries/helpers/ble_beacon/adafruit_ble_beacon.py | |
+++ libraries/helpers/ble_beacon/adafruit_ble_beacon.munged.py | |
@@ -27,12 +27,12 @@ | |
import _bleio | |
from adafruit_ble.advertising import Advertisement, AdvertisingDataField | |
-try: | |
- from typing import Optional, Union, Type, Tuple, Sequence | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/tekktrik/Adafruit_CircuitPython_BLE_Beacon.git" | |
--- libraries/helpers/ble-broadcastnet/adafruit_ble_broadcastnet.py | |
+++ libraries/helpers/ble-broadcastnet/adafruit_ble_broadcastnet.munged.py | |
@@ -23,13 +23,13 @@ | |
ADAFRUIT_COMPANY_ID, | |
) | |
-try: | |
- from typing import Optional | |
- from _bleio import ScanEntry | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_BroadcastNet.git" | |
_ble = adafruit_ble.BLERadio() # pylint: disable=invalid-name | |
--- libraries/helpers/ble_cycling_speed_and_cadence/adafruit_ble_cycling_speed_and_cadence.py | |
+++ libraries/helpers/ble_cycling_speed_and_cadence/adafruit_ble_cycling_speed_and_cadence.munged.py | |
@@ -32,12 +32,12 @@ | |
from adafruit_ble.characteristics import Characteristic, ComplexCharacteristic | |
from adafruit_ble.characteristics.int import Uint8Characteristic | |
-try: | |
- from typing import Optional | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Cycling_Speed_and_Cadence.git" | |
CSCMeasurementValues = namedtuple( | |
--- libraries/helpers/ble_file_transfer/adafruit_ble_file_transfer.py | |
+++ libraries/helpers/ble_file_transfer/adafruit_ble_file_transfer.munged.py | |
@@ -22,13 +22,13 @@ | |
from adafruit_ble.uuid import VendorUUID, StandardUUID | |
from adafruit_ble.services import Service | |
-try: | |
- from typing import Optional, List | |
- from circuitpython_typing import WriteableBuffer, ReadableBuffer | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_File_Transfer.git" | |
CHUNK_SIZE = 490 | |
--- libraries/helpers/ble_heart_rate/adafruit_ble_heart_rate.py | |
+++ libraries/helpers/ble_heart_rate/adafruit_ble_heart_rate.munged.py | |
@@ -32,12 +32,12 @@ | |
from adafruit_ble.characteristics import Characteristic, ComplexCharacteristic | |
from adafruit_ble.characteristics.int import Uint8Characteristic | |
-try: | |
- from typing import Optional | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Heart_Rate.git" | |
HeartRateMeasurementValues = namedtuple( | |
--- libraries/helpers/ble_ibbq/adafruit_ble_ibbq.py | |
+++ libraries/helpers/ble_ibbq/adafruit_ble_ibbq.munged.py | |
@@ -20,9 +20,9 @@ | |
InkBird and EasyBBQ (from PyleUSA) are brands that use the iBBQ protocol in their products. | |
""" | |
-try: | |
- from typing import Optional, Tuple | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
import struct | |
@@ -33,7 +33,7 @@ | |
from adafruit_ble.uuid import StandardUUID | |
from adafruit_ble.characteristics import Characteristic, ComplexCharacteristic | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_iBBQ.git" | |
--- libraries/helpers/ble_lywsd03mmc/adafruit_ble_lywsd03mmc.py | |
+++ libraries/helpers/ble_lywsd03mmc/adafruit_ble_lywsd03mmc.munged.py | |
@@ -29,12 +29,12 @@ | |
from adafruit_ble.uuid import VendorUUID | |
from adafruit_ble.characteristics import Characteristic, ComplexCharacteristic | |
-try: | |
- from typing import Optional, Tuple | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_LYWSD03MMC.git" | |
--- libraries/helpers/ble_magic_light/adafruit_ble_magic_light.py | |
+++ libraries/helpers/ble_magic_light/adafruit_ble_magic_light.munged.py | |
@@ -10,16 +10,16 @@ | |
""" | |
-try: | |
- from typing import Optional | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
from adafruit_ble.services import Service | |
from adafruit_ble.uuid import VendorUUID | |
from adafruit_ble.characteristics import Characteristic | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Magic_Light.git" | |
--- libraries/helpers/ble_midi/adafruit_ble_midi.py | |
+++ libraries/helpers/ble_midi/adafruit_ble_midi.munged.py | |
@@ -19,13 +19,13 @@ | |
from adafruit_ble.uuid import VendorUUID | |
from adafruit_ble.services import Service | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from circuitpython_typing import WriteableBuffer, ReadableBuffer | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_MIDI.git" | |
--- libraries/helpers/ble-radio/adafruit_ble_radio.py | |
+++ libraries/helpers/ble-radio/adafruit_ble_radio.munged.py | |
@@ -22,11 +22,11 @@ | |
https://github.com/adafruit/circuitpython/releases | |
""" | |
-try: | |
- from typing import Optional, Tuple | |
- import _bleio | |
- from circuitpython_typing import ReadableBuffer | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
@@ -42,7 +42,7 @@ | |
) | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Radio.git" | |
--- libraries/helpers/connection_manager/adafruit_connection_manager.py | |
+++ libraries/helpers/connection_manager/adafruit_connection_manager.munged.py | |
@@ -23,7 +23,7 @@ | |
# imports | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ConnectionManager.git" | |
import errno | |
@@ -32,7 +32,7 @@ | |
# typing | |
-if not sys.implementation.name == "circuitpython": | |
+if 0: | |
from typing import Optional, Tuple | |
from circuitpython_typing.socket import ( | |
--- libraries/helpers/dash_display/adafruit_dash_display.py | |
+++ libraries/helpers/dash_display/adafruit_dash_display.munged.py | |
@@ -22,11 +22,11 @@ | |
https://github.com/adafruit/circuitpython/releases | |
""" | |
-try: | |
- from typing import Tuple, Callable, Optional, Any | |
- from adafruit_io.adafruit_io import IO_MQTT | |
- from digitalio import DigitalInOut | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import time | |
@@ -36,7 +36,7 @@ | |
from adafruit_display_shapes.rect import Rect | |
from adafruit_display_text.label import Label | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Dash_Display.git" | |
--- libraries/helpers/datetime/adafruit_datetime.py | |
+++ libraries/helpers/datetime/adafruit_datetime.munged.py | |
@@ -32,12 +32,12 @@ | |
import re as _re | |
from micropython import const | |
-try: | |
- from typing import Any, Union, Optional, Tuple, Sequence, List | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DateTime.git" | |
# Constants | |
--- libraries/helpers/debouncer/adafruit_debouncer.py | |
+++ libraries/helpers/debouncer/adafruit_debouncer.munged.py | |
@@ -25,16 +25,16 @@ | |
# imports | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Debouncer.git" | |
from micropython import const | |
from adafruit_ticks import ticks_ms, ticks_diff | |
-try: | |
- from typing import Callable, Optional, Union | |
- from circuitpython_typing.io import ROValueIO | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_DEBOUNCED_STATE: int = const(0x01) | |
--- libraries/helpers/debug-i2c/adafruit_debug_i2c.py | |
+++ libraries/helpers/debug-i2c/adafruit_debug_i2c.munged.py | |
@@ -21,15 +21,15 @@ | |
""" | |
-try: | |
- from typing import Optional, Type, List | |
- from types import TracebackType | |
- from circuitpython_typing import WriteableBuffer, ReadableBuffer | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Debug_I2C.git" | |
--- libraries/helpers/ducky/adafruit_ducky.py | |
+++ libraries/helpers/ducky/adafruit_ducky.munged.py | |
@@ -31,7 +31,7 @@ | |
except ImportError: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Ducky.git" | |
commands = { | |
--- libraries/helpers/fakerequests/adafruit_fakerequests.py | |
+++ libraries/helpers/fakerequests/adafruit_fakerequests.munged.py | |
@@ -23,12 +23,12 @@ | |
import json | |
-try: | |
- from typing import Any | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FakeRequests.git" | |
--- libraries/helpers/framebuf/adafruit_framebuf.py | |
+++ libraries/helpers/framebuf/adafruit_framebuf.munged.py | |
@@ -25,7 +25,7 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_framebuf.git" | |
import os | |
--- libraries/helpers/GC_IOT_Core/adafruit_gc_iot_core.py | |
+++ libraries/helpers/GC_IOT_Core/adafruit_gc_iot_core.munged.py | |
@@ -29,20 +29,20 @@ | |
import time | |
-try: | |
- from typing import Any, Callable, Dict, Optional, Type, Union | |
- from types import TracebackType | |
- | |
- from adafruit_esp32spi import adafruit_esp32spi as ESP32SPI | |
- from adafruit_minimqtt import adafruit_minimqtt as MQTT | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import adafruit_logging as logging | |
from adafruit_jwt import JWT | |
import rtc | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_GC_IOT_Core.git" | |
--- libraries/helpers/hue/adafruit_hue.py | |
+++ libraries/helpers/hue/adafruit_hue.munged.py | |
@@ -29,13 +29,13 @@ | |
from random import randint | |
from simpleio import map_range | |
-try: | |
- from typing import Optional, List, Union, Sequence, Any | |
- from circuitpython_typing.http import HTTPProtocol | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Hue.git" | |
--- libraries/helpers/json_stream/adafruit_json_stream.py | |
+++ libraries/helpers/json_stream/adafruit_json_stream.munged.py | |
@@ -15,7 +15,7 @@ | |
import array | |
import json | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_JSON_Stream.git" | |
--- libraries/helpers/jwt/adafruit_jwt.py | |
+++ libraries/helpers/jwt/adafruit_jwt.munged.py | |
@@ -28,10 +28,10 @@ | |
""" | |
-try: | |
- from typing import Tuple, Union, Optional | |
- from circuitpython_typing import ReadableBuffer | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import io | |
@@ -40,7 +40,7 @@ | |
from adafruit_binascii import b2a_base64, a2b_base64 | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_JWT.git" | |
--- libraries/helpers/lifx/adafruit_lifx.py | |
+++ libraries/helpers/lifx/adafruit_lifx.munged.py | |
@@ -29,16 +29,16 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_lifx.git" | |
LIFX_URL = "https://api.lifx.com/v1/lights/" | |
-try: | |
- from typing import Dict, Any | |
- from circuitpython_typing.http import HTTPProtocol | |
- from adafruit_requests import Response | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/logging/adafruit_logging.py | |
+++ libraries/helpers/logging/adafruit_logging.munged.py | |
@@ -60,23 +60,23 @@ | |
import sys | |
from collections import namedtuple | |
-try: | |
- from typing import Optional, Hashable | |
- from typing_extensions import Protocol | |
- | |
- class WriteableStream(Protocol): | |
- """Any stream that can ``write`` strings""" | |
- | |
- def write(self, buf: str) -> int: | |
- """Write to the stream | |
- | |
- :param str buf: The string data to write to the stream | |
- """ | |
- | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Logger.git" | |
# pylint:disable=undefined-all-variable | |
--- libraries/helpers/macropad/adafruit_macropad.py | |
+++ libraries/helpers/macropad/adafruit_macropad.munged.py | |
@@ -76,16 +76,16 @@ | |
from adafruit_simple_text_display import SimpleTextDisplay | |
from adafruit_debouncer import Debouncer | |
-try: | |
- # Only used for typing | |
- from typing import Tuple, Optional, Union, Iterator | |
- from neopixel import NeoPixel | |
- from keypad import Keys | |
- import adafruit_hid # pylint:disable=ungrouped-imports | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MacroPad.git" | |
ROTATED_KEYMAP_0 = (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11) | |
--- libraries/helpers/miniesptool/adafruit_miniesptool.py | |
+++ libraries/helpers/miniesptool/adafruit_miniesptool.munged.py | |
@@ -38,7 +38,7 @@ | |
import struct | |
from digitalio import Direction | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_miniesptool.git" | |
SYNC_PACKET = b"\x07\x07\x12 UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU" | |
--- libraries/helpers/miniqr/adafruit_miniqr.py | |
+++ libraries/helpers/miniqr/adafruit_miniqr.munged.py | |
@@ -36,7 +36,7 @@ | |
# imports | |
import math | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_miniQR.git" | |
# Consts! | |
--- libraries/helpers/motorkit/adafruit_motorkit.py | |
+++ libraries/helpers/motorkit/adafruit_motorkit.munged.py | |
@@ -36,15 +36,15 @@ | |
import board | |
from adafruit_pca9685 import PCA9685 | |
-try: | |
- from typing import Optional, Tuple | |
- from busio import I2C | |
- import adafruit_motor.motor | |
- import adafruit_motor.stepper | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MotorKit.git" | |
--- libraries/helpers/ntp/adafruit_ntp.py | |
+++ libraries/helpers/ntp/adafruit_ntp.munged.py | |
@@ -22,7 +22,7 @@ | |
import struct | |
import time | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_NTP.git" | |
NTP_TO_UNIX_EPOCH = 2208988800 # 1970-01-01 00:00:00 | |
--- libraries/helpers/oauth_2/adafruit_oauth2.py | |
+++ libraries/helpers/oauth_2/adafruit_oauth2.munged.py | |
@@ -22,16 +22,16 @@ | |
https://github.com/adafruit/circuitpython/releases | |
""" | |
-try: | |
- from typing import Optional, List | |
- import adafruit_requests | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
# imports | |
import time | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_OAuth2.git" | |
# Google's authorization server | |
--- libraries/helpers/pioasm/adafruit_pioasm.py | |
+++ libraries/helpers/pioasm/adafruit_pioasm.munged.py | |
@@ -17,7 +17,7 @@ | |
splitter = re.compile(r",\s*|\s+(?:,\s*)?").split | |
mov_splitter = re.compile("!|~|::").split | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PIOASM.git" | |
CONDITIONS = ["", "!x", "x--", "!y", "y--", "x!=y", "pin", "!osre"] | |
--- libraries/helpers/pixelbuf/adafruit_pixelbuf.py | |
+++ libraries/helpers/pixelbuf/adafruit_pixelbuf.munged.py | |
@@ -13,14 +13,14 @@ | |
""" | |
-try: | |
- from typing import Optional, Tuple, Union, Sequence | |
- | |
- ColorUnion = Union[int, Tuple[int, int, int], Tuple[int, int, int, int]] | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Pixelbuf.git" | |
DOTSTAR_LED_START_FULL_BRIGHT = 0xFF | |
--- libraries/helpers/pixel_framebuf/adafruit_pixel_framebuf.py | |
+++ libraries/helpers/pixel_framebuf/adafruit_pixel_framebuf.munged.py | |
@@ -47,7 +47,7 @@ | |
from adafruit_led_animation.grid import PixelGrid | |
from micropython import const | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Pixel_Framebuf.git" | |
HORIZONTAL: int = const(1) | |
--- libraries/helpers/pixelmap/adafruit_pixelmap.py | |
+++ libraries/helpers/pixelmap/adafruit_pixelmap.munged.py | |
@@ -27,7 +27,7 @@ | |
# imports | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PixelMap.git" | |
import _pixelmap | |
--- libraries/helpers/pyoa/adafruit_pyoa.py | |
+++ libraries/helpers/pyoa/adafruit_pyoa.munged.py | |
@@ -48,12 +48,12 @@ | |
from adafruit_button import Button | |
import terminalio | |
-try: | |
- from typing import Dict, Optional, List | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PYOA.git" | |
--- libraries/helpers/pypixelbuf/adafruit_pypixelbuf.py | |
+++ libraries/helpers/pypixelbuf/adafruit_pypixelbuf.munged.py | |
@@ -11,7 +11,7 @@ | |
* Author(s): Damien P. George & Limor Fried & Scott Shawcroft & Roy Hooper | |
""" | |
-__version__ = "0.0.0-auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Pypixelbuf.git" | |
DOTSTAR_LED_START_FULL_BRIGHT = 0xFF | |
--- libraries/helpers/requests/adafruit_requests.py | |
+++ libraries/helpers/requests/adafruit_requests.munged.py | |
@@ -33,7 +33,7 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Requests.git" | |
import errno | |
@@ -41,7 +41,7 @@ | |
import json as json_module | |
-if not sys.implementation.name == "circuitpython": | |
+if 0: | |
from ssl import SSLContext | |
from types import ModuleType, TracebackType | |
from typing import Any, Dict, Optional, Tuple, Type, Union | |
--- libraries/helpers/rgbled/adafruit_rgbled.py | |
+++ libraries/helpers/rgbled/adafruit_rgbled.munged.py | |
@@ -19,18 +19,18 @@ | |
* Adafruit CircuitPython firmware for the supported boards: | |
https://github.com/adafruit/circuitpython/releases | |
""" | |
-try: | |
- from typing import Union, Optional, Type | |
- from types import TracebackType | |
- from microcontroller import Pin | |
- from adafruit_pca9685 import PWMChannel | |
- from circuitpython_typing.led import ColorBasedColorUnion | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
from pwmio import PWMOut | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RGBLED.git" | |
--- libraries/helpers/rtttl/adafruit_rtttl.py | |
+++ libraries/helpers/rtttl/adafruit_rtttl.munged.py | |
@@ -11,7 +11,7 @@ | |
* Author(s): Scott Shawcroft | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RTTTL" | |
import sys | |
@@ -35,10 +35,10 @@ | |
if AUDIOIO_AVAILABLE and not WAVEFORM_AVAILABLE: | |
raise e | |
-try: | |
- from typing import Optional, Union, Tuple, List | |
- from audioio import AudioOut | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
PIANO = { | |
--- libraries/helpers/servokit/adafruit_servokit.py | |
+++ libraries/helpers/servokit/adafruit_servokit.munged.py | |
@@ -35,14 +35,14 @@ | |
import board | |
from adafruit_pca9685 import PCA9685 | |
-try: | |
- from typing import Optional | |
- from busio import I2C | |
- from adafruit_motor.servo import Servo, ContinuousServo | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ServoKit.git" | |
--- libraries/helpers/simplemath/adafruit_simplemath.py | |
+++ libraries/helpers/simplemath/adafruit_simplemath.munged.py | |
@@ -20,7 +20,7 @@ | |
https://github.com/adafruit/circuitpython/releases | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SimpleMath.git" | |
--- libraries/helpers/simple-text-display/adafruit_simple_text_display.py | |
+++ libraries/helpers/simple-text-display/adafruit_simple_text_display.munged.py | |
@@ -23,10 +23,10 @@ | |
https://github.com/adafruit/circuitpython/releases | |
""" | |
-try: | |
- from typing import Optional, Tuple | |
- from fontio import FontProtocol | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import board | |
@@ -34,7 +34,7 @@ | |
import terminalio | |
from adafruit_display_text import bitmap_label as label | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Simple_Text_Display.git" | |
--- libraries/helpers/slideshow/adafruit_slideshow.py | |
+++ libraries/helpers/slideshow/adafruit_slideshow.munged.py | |
@@ -47,13 +47,13 @@ | |
print("Warning: adafruit_bitmap_font not found. No support for custom fonts.") | |
CUSTOM_FONTS = False | |
-try: | |
- from typing import Optional | |
- from pwmio import PWMOut | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Slideshow.git" | |
--- libraries/helpers/templateengine/adafruit_templateengine.py | |
+++ libraries/helpers/templateengine/adafruit_templateengine.munged.py | |
@@ -18,12 +18,12 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_TemplateEngine.git" | |
-try: | |
- from typing import Any, Generator | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
import os | |
--- libraries/helpers/ticks/adafruit_ticks.py | |
+++ libraries/helpers/ticks/adafruit_ticks.munged.py | |
@@ -24,7 +24,7 @@ | |
# imports | |
from micropython import const | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ticks.git" | |
_TICKS_PERIOD = const(1 << 29) | |
--- libraries/helpers/turtle/adafruit_turtle.py | |
+++ libraries/helpers/turtle/adafruit_turtle.munged.py | |
@@ -23,7 +23,7 @@ | |
* Adafruit's Bus Device library: | |
https://github.com/adafruit/Adafruit_CircuitPython_BusDevice | |
""" | |
-from __future__ import annotations | |
+ | |
# pylint:disable=too-many-public-methods, too-many-instance-attributes, invalid-name | |
# pylint:disable=too-few-public-methods, too-many-lines, too-many-arguments | |
@@ -33,12 +33,12 @@ | |
import time | |
import displayio | |
-try: | |
- from typing import List, Optional, Tuple, Union | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_turtle.git" | |
--- libraries/helpers/usb_host_descriptors/adafruit_usb_host_descriptors.py | |
+++ libraries/helpers/usb_host_descriptors/adafruit_usb_host_descriptors.munged.py | |
@@ -13,7 +13,7 @@ | |
import struct | |
from micropython import const | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_USB_Host_Descriptors.git" | |
--- libraries/helpers/wave/adafruit_wave.py | |
+++ libraries/helpers/wave/adafruit_wave.munged.py | |
@@ -23,7 +23,7 @@ | |
# pylint: disable=missing-class-docstring,redefined-outer-name,missing-function-docstring,invalid-name,import-outside-toplevel,too-many-instance-attributes,consider-using-with,no-self-use,redefined-builtin,not-callable,unused-variable,attribute-defined-outside-init,too-many-public-methods,no-else-return | |
# imports | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_wave.git" | |
from collections import namedtuple | |
--- libraries/drivers/ads1x15/adafruit_ads1x15/ads1115.py | |
+++ libraries/drivers/ads1x15/adafruit_ads1x15/ads1115.munged.py | |
@@ -12,11 +12,11 @@ | |
""" | |
import struct | |
-try: | |
- from typing import Dict, List | |
- from typing_extensions import Literal | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
# pylint: disable=unused-import | |
--- libraries/drivers/ads1x15/adafruit_ads1x15/analog_in.py | |
+++ libraries/drivers/ads1x15/adafruit_ads1x15/analog_in.munged.py | |
@@ -11,10 +11,10 @@ | |
* Author(s): Carter Nelson, adapted from MCP3xxx original by Brent Rubell | |
""" | |
-try: | |
- from typing import Optional | |
- from .ads1x15 import ADS1x15 | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_ADS1X15_DIFF_CHANNELS = {(0, 1): 0, (0, 3): 1, (1, 3): 2, (2, 3): 3} | |
--- libraries/drivers/ads1x15/adafruit_ads1x15/ads1x15.py | |
+++ libraries/drivers/ads1x15/adafruit_ads1x15/ads1x15.munged.py | |
@@ -11,7 +11,7 @@ | |
* Author(s): Carter Nelson | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ADS1x15.git" | |
import time | |
@@ -19,12 +19,12 @@ | |
from adafruit_bus_device.i2c_device import I2CDevice | |
from micropython import const | |
-try: | |
- from typing import Dict, List, Optional | |
- | |
- from busio import I2C | |
- from microcontroller import Pin | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
# define Pin to avoid the error: | |
# def read(self, pin: Pin, is_differential: bool = False) -> int: | |
# NameError: name 'Pin' is not defined | |
--- libraries/drivers/ads1x15/adafruit_ads1x15/ads1015.py | |
+++ libraries/drivers/ads1x15/adafruit_ads1x15/ads1015.munged.py | |
@@ -12,11 +12,11 @@ | |
""" | |
import struct | |
-try: | |
- from typing import Dict, List | |
- from typing_extensions import Literal | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
# pylint: disable=unused-import | |
--- libraries/drivers/ads1x15/adafruit_ads1x15/__init__.py | |
+++ libraries/drivers/ads1x15/adafruit_ads1x15/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/drivers/ads7830/adafruit_ads7830/ads7830.py | |
+++ libraries/drivers/ads7830/adafruit_ads7830/ads7830.munged.py | |
@@ -28,13 +28,13 @@ | |
from adafruit_bus_device.i2c_device import I2CDevice | |
from micropython import const | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ADS7830.git" | |
_I2C_ADDR = const(0x48) | |
--- libraries/drivers/apds9960/adafruit_apds9960/colorutility.py | |
+++ libraries/drivers/apds9960/adafruit_apds9960/colorutility.munged.py | |
@@ -11,7 +11,7 @@ | |
* Author(s): Michael McWethy | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_APDS9960.git" | |
--- libraries/drivers/apds9960/adafruit_apds9960/apds9960.py | |
+++ libraries/drivers/apds9960/adafruit_apds9960/apds9960.munged.py | |
@@ -39,14 +39,14 @@ | |
from adafruit_bus_device.i2c_device import I2CDevice | |
from micropython import const | |
-try: | |
- # Only used for typing | |
- from typing import Tuple | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_APDS9960.git" | |
# Only one address is possible for the APDS9960, no alternates are available | |
--- libraries/drivers/atecc/adafruit_atecc/adafruit_atecc.py | |
+++ libraries/drivers/atecc/adafruit_atecc/adafruit_atecc.munged.py | |
@@ -50,17 +50,17 @@ | |
# Since the board may or may not have access to the typing library we need | |
# to have this in a try/except to enable type hinting for the IDEs while | |
# not breaking the runtime on the controller. | |
-try: | |
- from typing import Any, Sized, Optional | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
from micropython import const | |
from adafruit_bus_device.i2c_device import I2CDevice | |
from adafruit_binascii import hexlify, unhexlify | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ATECC.git" | |
--- libraries/drivers/atecc/adafruit_atecc/__init__.py | |
+++ libraries/drivers/atecc/adafruit_atecc/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/drivers/bme280/adafruit_bme280/advanced.py | |
+++ libraries/drivers/bme280/adafruit_bme280/advanced.munged.py | |
@@ -33,14 +33,14 @@ | |
from adafruit_bme280.basic import Adafruit_BME280 | |
from adafruit_bme280.protocol import I2C_Impl, SPI_Impl | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C, SPI | |
- from digitalio import DigitalInOut | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BME280.git" | |
# I2C ADDRESS/BITS/SETTINGS | |
--- libraries/drivers/bme280/adafruit_bme280/__init__.py | |
+++ libraries/drivers/bme280/adafruit_bme280/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/drivers/bme280/adafruit_bme280/basic.py | |
+++ libraries/drivers/bme280/adafruit_bme280/basic.munged.py | |
@@ -36,14 +36,14 @@ | |
from micropython import const | |
from adafruit_bme280.protocol import I2C_Impl, SPI_Impl | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C, SPI | |
- from digitalio import DigitalInOut | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "2.6.4" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BME280.git" | |
# I2C ADDRESS/BITS/SETTINGS | |
--- libraries/drivers/bno08x/adafruit_bno08x/__init__.py | |
+++ libraries/drivers/bno08x/adafruit_bno08x/__init__.munged.py | |
@@ -25,9 +25,9 @@ | |
* `Adafruit's Bus Device library <https:# github.com/adafruit/Adafruit_CircuitPython_BusDevice>`_ | |
""" | |
-from __future__ import annotations | |
- | |
-__version__ = "0.0.0+auto.0" | |
+ | |
+ | |
+__version__ = "munged-version" | |
__repo__ = "https:# github.com/adafruit/Adafruit_CircuitPython_BNO08x.git" | |
from struct import unpack_from, pack_into | |
@@ -39,10 +39,10 @@ | |
from .debug import channels, reports | |
# For IDE type recognition | |
-try: | |
- from typing import Any, Dict, List, Optional, Tuple, Union | |
- from digitalio import DigitalInOut | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
# TODO: shorten names | |
--- libraries/drivers/cap1188/adafruit_cap1188/cap1188.py | |
+++ libraries/drivers/cap1188/adafruit_cap1188/cap1188.munged.py | |
@@ -29,12 +29,12 @@ | |
from micropython import const | |
-try: | |
- from typing import Tuple, Union | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CAP1188.git" | |
--- libraries/drivers/cap1188/adafruit_cap1188/i2c.py | |
+++ libraries/drivers/cap1188/adafruit_cap1188/i2c.munged.py | |
@@ -32,13 +32,13 @@ | |
from micropython import const | |
from adafruit_cap1188.cap1188 import CAP1188 | |
-try: | |
- from typing import Union | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CAP1188.git" | |
_CAP1188_DEFAULT_ADDRESS = const(0x29) | |
--- libraries/drivers/cap1188/adafruit_cap1188/spi.py | |
+++ libraries/drivers/cap1188/adafruit_cap1188/spi.munged.py | |
@@ -32,18 +32,18 @@ | |
from micropython import const | |
from adafruit_cap1188.cap1188 import CAP1188 | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CAP1188.git" | |
_CAP1188_SPI_SET_ADDR = const(0x7D) | |
_CAP1188_SPI_WRITE_DATA = const(0x7E) | |
_CAP1188_SPI_READ_DATA = const(0x7F) | |
-try: | |
- from typing import Union | |
- from busio import SPI | |
- from digitalio import DigitalInOut | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/cap1188/adafruit_cap1188/__init__.py | |
+++ libraries/drivers/cap1188/adafruit_cap1188/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/drivers/charlcd/adafruit_character_lcd/character_lcd_spi.py | |
+++ libraries/drivers/charlcd/adafruit_character_lcd/character_lcd_spi.munged.py | |
@@ -27,17 +27,17 @@ | |
https://github.com/adafruit/Adafruit_CircuitPython_BusDevice | |
""" | |
-try: | |
- import typing # pylint: disable=unused-import | |
- import busio | |
- import digitalio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import adafruit_74hc595 | |
from adafruit_character_lcd.character_lcd import Character_LCD_Mono | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CharLCD.git" | |
--- libraries/drivers/charlcd/adafruit_character_lcd/character_lcd_rgb_i2c.py | |
+++ libraries/drivers/charlcd/adafruit_character_lcd/character_lcd_rgb_i2c.munged.py | |
@@ -36,17 +36,17 @@ | |
https://github.com/adafruit/Adafruit_CircuitPython_BusDevice | |
""" | |
-try: | |
- from typing import Optional | |
- import busio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import digitalio | |
from adafruit_mcp230xx.mcp23017 import MCP23017 | |
from adafruit_character_lcd.character_lcd import Character_LCD_RGB | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CharLCD.git" | |
--- libraries/drivers/charlcd/adafruit_character_lcd/__init__.py | |
+++ libraries/drivers/charlcd/adafruit_character_lcd/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/drivers/charlcd/adafruit_character_lcd/character_lcd.py | |
+++ libraries/drivers/charlcd/adafruit_character_lcd/character_lcd.munged.py | |
@@ -29,17 +29,17 @@ | |
https://github.com/adafruit/Adafruit_CircuitPython_BusDevice | |
""" | |
-try: | |
- from typing import Union, Optional, List, Sequence | |
- from circuitpython_typing import pwmio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import time | |
import digitalio | |
from micropython import const | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CharLCD.git" | |
# Commands | |
--- libraries/drivers/charlcd/adafruit_character_lcd/character_lcd_i2c.py | |
+++ libraries/drivers/charlcd/adafruit_character_lcd/character_lcd_i2c.munged.py | |
@@ -27,16 +27,16 @@ | |
https://github.com/adafruit/Adafruit_CircuitPython_BusDevice | |
""" | |
-try: | |
- from typing import Optional | |
- import busio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
from adafruit_mcp230xx.mcp23008 import MCP23008 | |
from adafruit_character_lcd.character_lcd import Character_LCD_Mono | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CharLCD.git" | |
--- libraries/drivers/circuitplayground/adafruit_circuitplayground/express.py | |
+++ libraries/drivers/circuitplayground/adafruit_circuitplayground/express.munged.py | |
@@ -33,7 +33,7 @@ | |
) | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CircuitPlayground.git" | |
--- libraries/drivers/circuitplayground/adafruit_circuitplayground/circuit_playground_base.py | |
+++ libraries/drivers/circuitplayground/adafruit_circuitplayground/circuit_playground_base.munged.py | |
@@ -33,14 +33,14 @@ | |
import neopixel | |
import touchio | |
-try: | |
- from typing import Optional, Iterator, List | |
- from typing_extensions import Literal | |
- from microcontroller import Pin | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CircuitPlayground.git" | |
--- libraries/drivers/circuitplayground/adafruit_circuitplayground/bluefruit.py | |
+++ libraries/drivers/circuitplayground/adafruit_circuitplayground/bluefruit.munged.py | |
@@ -18,9 +18,9 @@ | |
* `Circuit Playground Bluefruit <https://www.adafruit.com/product/4333>`_ | |
""" | |
-try: | |
- import typing # pylint: disable=unused-import | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
import array | |
@@ -33,7 +33,7 @@ | |
from adafruit_circuitplayground.circuit_playground_base import CircuitPlaygroundBase | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CircuitPlayground.git" | |
--- libraries/drivers/dps310/adafruit_dps310/advanced.py | |
+++ libraries/drivers/dps310/adafruit_dps310/advanced.munged.py | |
@@ -32,7 +32,7 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DPS310.git" | |
from time import sleep | |
@@ -40,9 +40,9 @@ | |
from adafruit_register.i2c_bits import RWBits | |
from adafruit_dps310.basic import DPS310 | |
-try: | |
- from typing import Iterable, Optional, Tuple, Union | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
# pylint: disable=no-member,unnecessary-pass | |
--- libraries/drivers/dps310/adafruit_dps310/basic.py | |
+++ libraries/drivers/dps310/adafruit_dps310/basic.munged.py | |
@@ -31,7 +31,7 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DPS310.git" | |
# Common imports; remove if unused or pylint will complain | |
@@ -43,10 +43,10 @@ | |
from adafruit_register.i2c_bit import RWBit, ROBit | |
from adafruit_register.i2c_bits import RWBits, ROBits | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_DPS310_DEFAULT_ADDRESS = const(0x77) # DPS310 default i2c address | |
--- libraries/drivers/emc2101/adafruit_emc2101/emc2101_lut.py | |
+++ libraries/drivers/emc2101/adafruit_emc2101/emc2101_lut.munged.py | |
@@ -41,7 +41,7 @@ | |
from adafruit_emc2101.emc2101_fanspeed import FanSpeedLUT | |
from adafruit_emc2101.emc2101_ext import EMC2101_EXT | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_EMC2101.git" | |
--- libraries/drivers/emc2101/adafruit_emc2101/emc2101_fanspeed.py | |
+++ libraries/drivers/emc2101/adafruit_emc2101/emc2101_fanspeed.munged.py | |
@@ -34,7 +34,7 @@ | |
from adafruit_emc2101 import emc2101_regs | |
-__version__ = "0.0.0-auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_EMC2101.git" | |
--- libraries/drivers/emc2101/adafruit_emc2101/emc2101_ext.py | |
+++ libraries/drivers/emc2101/adafruit_emc2101/emc2101_ext.munged.py | |
@@ -42,7 +42,7 @@ | |
from adafruit_emc2101 import emc2101_regs | |
from adafruit_emc2101 import EMC2101 | |
-__version__ = "0.0.0-auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_EMC2101.git" | |
--- libraries/drivers/emc2101/adafruit_emc2101/__init__.py | |
+++ libraries/drivers/emc2101/adafruit_emc2101/__init__.munged.py | |
@@ -39,7 +39,7 @@ | |
from adafruit_emc2101 import emc2101_regs | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_EMC2101.git" | |
--- libraries/drivers/epd/adafruit_epd/il91874.py | |
+++ libraries/drivers/epd/adafruit_epd/il91874.munged.py | |
@@ -24,7 +24,7 @@ | |
except ImportError: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_EPD.git" | |
_IL91874_PANEL_SETTING = const(0x00) | |
--- libraries/drivers/epd/adafruit_epd/mcp_sram.py | |
+++ libraries/drivers/epd/adafruit_epd/mcp_sram.munged.py | |
@@ -21,7 +21,7 @@ | |
except ImportError: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_EPD.git" | |
SRAM_SEQUENTIAL_MODE = const(1 << 6) | |
--- libraries/drivers/epd/adafruit_epd/ssd1675b.py | |
+++ libraries/drivers/epd/adafruit_epd/ssd1675b.munged.py | |
@@ -24,7 +24,7 @@ | |
except ImportError: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_EPD.git" | |
_SSD1675B_DRIVER_CONTROL = const(0x01) | |
--- libraries/drivers/epd/adafruit_epd/il0398.py | |
+++ libraries/drivers/epd/adafruit_epd/il0398.munged.py | |
@@ -24,7 +24,7 @@ | |
except ImportError: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_EPD.git" | |
_IL0398_PANEL_SETTING = const(0x00) | |
--- libraries/drivers/epd/adafruit_epd/il0373.py | |
+++ libraries/drivers/epd/adafruit_epd/il0373.munged.py | |
@@ -24,7 +24,7 @@ | |
except ImportError: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_EPD.git" | |
_IL0373_PANEL_SETTING = const(0x00) | |
--- libraries/drivers/epd/adafruit_epd/epd.py | |
+++ libraries/drivers/epd/adafruit_epd/epd.munged.py | |
@@ -26,7 +26,7 @@ | |
except ImportError: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_EPD.git" | |
--- libraries/drivers/epd/adafruit_epd/ssd1608.py | |
+++ libraries/drivers/epd/adafruit_epd/ssd1608.munged.py | |
@@ -24,7 +24,7 @@ | |
except ImportError: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_EPD.git" | |
_SSD1608_DRIVER_CONTROL = const(0x01) | |
--- libraries/drivers/epd/adafruit_epd/ssd1680.py | |
+++ libraries/drivers/epd/adafruit_epd/ssd1680.munged.py | |
@@ -24,7 +24,7 @@ | |
except ImportError: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_EPD.git" | |
_SSD1680_DRIVER_CONTROL = const(0x01) | |
--- libraries/drivers/epd/adafruit_epd/ek79686.py | |
+++ libraries/drivers/epd/adafruit_epd/ek79686.munged.py | |
@@ -24,7 +24,7 @@ | |
except ImportError: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_EPD.git" | |
_EK79686_PANEL_SETTING = const(0x00) | |
--- libraries/drivers/epd/adafruit_epd/ssd1681.py | |
+++ libraries/drivers/epd/adafruit_epd/ssd1681.munged.py | |
@@ -14,16 +14,16 @@ | |
import adafruit_framebuf | |
from adafruit_epd.epd import Adafruit_EPD | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from typing_extensions import Literal | |
- from busio import SPI | |
- from digitalio import DigitalInOut | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_EPD.git" | |
_SSD1681_DRIVER_CONTROL = const(0x01) | |
--- libraries/drivers/epd/adafruit_epd/uc8151d.py | |
+++ libraries/drivers/epd/adafruit_epd/uc8151d.munged.py | |
@@ -24,7 +24,7 @@ | |
except ImportError: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_EPD.git" | |
_UC8151D_PANEL_SETTING = const(0x00) | |
--- libraries/drivers/epd/adafruit_epd/__init__.py | |
+++ libraries/drivers/epd/adafruit_epd/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/drivers/epd/adafruit_epd/ssd1675.py | |
+++ libraries/drivers/epd/adafruit_epd/ssd1675.munged.py | |
@@ -24,7 +24,7 @@ | |
except ImportError: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_EPD.git" | |
_SSD1675_DRIVER_CONTROL = const(0x01) | |
--- libraries/drivers/esp32spi/adafruit_esp32spi/adafruit_esp32spi.py | |
+++ libraries/drivers/esp32spi/adafruit_esp32spi/adafruit_esp32spi.munged.py | |
@@ -32,7 +32,7 @@ | |
from adafruit_bus_device.spi_device import SPIDevice | |
from digitalio import Direction | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI.git" | |
_SET_NET_CMD = const(0x10) | |
--- libraries/drivers/esp32spi/adafruit_esp32spi/adafruit_esp32spi_socketpool.py | |
+++ libraries/drivers/esp32spi/adafruit_esp32spi/adafruit_esp32spi_socketpool.munged.py | |
@@ -10,14 +10,14 @@ | |
* Author(s): ladyada | |
""" | |
-from __future__ import annotations | |
- | |
-try: | |
- from typing import TYPE_CHECKING, Optional | |
- | |
- if TYPE_CHECKING: | |
- from esp32spi.adafruit_esp32spi import ESP_SPIcontrol | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/esp32spi/adafruit_esp32spi/__init__.py | |
+++ libraries/drivers/esp32spi/adafruit_esp32spi/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/drivers/esp-atcontrol/adafruit_espatcontrol/adafruit_espatcontrol_wifimanager.py | |
+++ libraries/drivers/esp-atcontrol/adafruit_espatcontrol/adafruit_espatcontrol_wifimanager.munged.py | |
@@ -18,10 +18,10 @@ | |
import adafruit_espatcontrol.adafruit_espatcontrol_socket as pool | |
from adafruit_espatcontrol.adafruit_espatcontrol import ESP_ATcontrol | |
-try: | |
- from typing import Dict, Any, Optional, Union, Tuple | |
- from circuitpython_typing.led import FillBasedLED | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/esp-atcontrol/adafruit_espatcontrol/adafruit_espatcontrol.py | |
+++ libraries/drivers/esp-atcontrol/adafruit_espatcontrol/adafruit_espatcontrol.munged.py | |
@@ -36,13 +36,13 @@ | |
import time | |
from digitalio import Direction, DigitalInOut | |
-try: | |
- from typing import Optional, Dict, Union, List | |
- import busio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_espATcontrol.git" | |
--- libraries/drivers/esp-atcontrol/adafruit_espatcontrol/adafruit_espatcontrol_socket.py | |
+++ libraries/drivers/esp-atcontrol/adafruit_espatcontrol/adafruit_espatcontrol_socket.munged.py | |
@@ -5,10 +5,10 @@ | |
"""A 'socket' compatible interface thru the ESP AT command set""" | |
from micropython import const | |
-try: | |
- from typing import Optional, Tuple, List | |
- from .adafruit_espatcontrol import ESP_ATcontrol | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_the_interface = None # pylint: disable=invalid-name | |
--- libraries/drivers/esp-atcontrol/adafruit_espatcontrol/__init__.py | |
+++ libraries/drivers/esp-atcontrol/adafruit_espatcontrol/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/drivers/fona/adafruit_fona/adafruit_fona_socket.py | |
+++ libraries/drivers/fona/adafruit_fona/adafruit_fona_socket.munged.py | |
@@ -16,10 +16,10 @@ | |
import time | |
from micropython import const | |
-try: | |
- from typing import Optional, Tuple, Sequence | |
- from adafruit_fona.adafruit_fona import FONA | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_the_interface = None # pylint: disable=invalid-name | |
--- libraries/drivers/fona/adafruit_fona/adafruit_fona_network.py | |
+++ libraries/drivers/fona/adafruit_fona/adafruit_fona_network.munged.py | |
@@ -12,14 +12,14 @@ | |
""" | |
-try: | |
- from typing import Optional, Tuple, Type | |
- from types import TracebackType | |
- from adafruit_fona.adafruit_fona import FONA | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FONA.git" | |
# Network types | |
--- libraries/drivers/fona/adafruit_fona/__init__.py | |
+++ libraries/drivers/fona/adafruit_fona/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/drivers/fona/adafruit_fona/fona_3g.py | |
+++ libraries/drivers/fona/adafruit_fona/fona_3g.munged.py | |
@@ -23,19 +23,19 @@ | |
from micropython import const | |
from .adafruit_fona import FONA, REPLY_OK | |
-try: | |
- from typing import Optional, Tuple, Union | |
- from busio import UART | |
- from digitalio import DigitalInOut | |
- | |
- try: | |
- from typing import Literal | |
- except ImportError: | |
- from typing_extensions import Literal | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FONA.git" | |
FONA_MAX_SOCKETS = const(10) | |
--- libraries/drivers/fona/adafruit_fona/adafruit_fona.py | |
+++ libraries/drivers/fona/adafruit_fona/adafruit_fona.munged.py | |
@@ -26,20 +26,20 @@ | |
from micropython import const | |
from simpleio import map_range | |
-try: | |
- from typing import Optional, Tuple, Union | |
- from circuitpython_typing import ReadableBuffer | |
- from busio import UART | |
- from digitalio import DigitalInOut | |
- | |
- try: | |
- from typing import Literal | |
- except ImportError: | |
- from typing_extensions import Literal | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FONA.git" | |
FONA_DEFAULT_TIMEOUT_MS = 500 # TODO: Check this against arduino... | |
--- libraries/drivers/ht16k33/adafruit_ht16k33/ht16k33.py | |
+++ libraries/drivers/ht16k33/adafruit_ht16k33/ht16k33.munged.py | |
@@ -14,14 +14,14 @@ | |
from adafruit_bus_device import i2c_device | |
from micropython import const | |
-try: | |
- from typing import Union, List, Tuple, Optional | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_HT16K33.git" | |
_HT16K33_BLINK_CMD = const(0x80) | |
--- libraries/drivers/ht16k33/adafruit_ht16k33/animations.py | |
+++ libraries/drivers/ht16k33/adafruit_ht16k33/animations.munged.py | |
@@ -16,10 +16,10 @@ | |
from time import sleep | |
-try: | |
- from typing import List | |
- from adafruit_ht16k33.segments import Seg14x4 | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/ht16k33/adafruit_ht16k33/matrix.py | |
+++ libraries/drivers/ht16k33/adafruit_ht16k33/matrix.munged.py | |
@@ -10,15 +10,15 @@ | |
""" | |
from adafruit_ht16k33.ht16k33 import HT16K33 | |
-try: | |
- from typing import Optional, Tuple, Union, List | |
- from circuitpython_typing.pil import Image | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_HT16K33.git" | |
--- libraries/drivers/ht16k33/adafruit_ht16k33/segments.py | |
+++ libraries/drivers/ht16k33/adafruit_ht16k33/segments.munged.py | |
@@ -10,13 +10,13 @@ | |
import time | |
from adafruit_ht16k33.ht16k33 import HT16K33 | |
-try: | |
- from typing import Union, List, Tuple, Optional, Dict | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_HT16K33.git" | |
# fmt: off | |
--- libraries/drivers/ht16k33/adafruit_ht16k33/__init__.py | |
+++ libraries/drivers/ht16k33/adafruit_ht16k33/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/drivers/ht16k33/adafruit_ht16k33/bargraph.py | |
+++ libraries/drivers/ht16k33/adafruit_ht16k33/bargraph.munged.py | |
@@ -13,7 +13,7 @@ | |
from adafruit_ht16k33.ht16k33 import HT16K33 | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_HT16K33.git" | |
--- libraries/drivers/is31fl3731/adafruit_is31fl3731/__init__.py | |
+++ libraries/drivers/is31fl3731/adafruit_is31fl3731/__init__.munged.py | |
@@ -55,7 +55,7 @@ | |
from adafruit_bus_device.i2c_device import I2CDevice | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_IS31FL3731.git" | |
_MODE_REGISTER = const(0x00) | |
--- libraries/drivers/is31fl3741/adafruit_is31fl3741/adafruit_rgbmatrixqt.py | |
+++ libraries/drivers/is31fl3741/adafruit_is31fl3741/adafruit_rgbmatrixqt.munged.py | |
@@ -27,11 +27,11 @@ | |
from adafruit_is31fl3741 import _IS3741_ADDR_DEFAULT, NO_BUFFER, IS3741_BGR | |
from . import IS31FL3741_colorXY | |
-try: | |
- # Used only for typing | |
- from typing import Tuple | |
- import busio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/is31fl3741/adafruit_is31fl3741/is31fl3741_pixelbuf.py | |
+++ libraries/drivers/is31fl3741/adafruit_is31fl3741/is31fl3741_pixelbuf.munged.py | |
@@ -17,17 +17,17 @@ | |
import adafruit_pixelbuf | |
-try: | |
- # Used only for typing | |
- from typing import Optional, Type, Union | |
- from types import TracebackType | |
- import is31fl3741 | |
- from . import IS31FL3741 | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
# __repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_IS31FL3741.git" | |
--- libraries/drivers/is31fl3741/adafruit_is31fl3741/adafruit_ledglasses.py | |
+++ libraries/drivers/is31fl3741/adafruit_is31fl3741/adafruit_ledglasses.munged.py | |
@@ -27,11 +27,11 @@ | |
from adafruit_is31fl3741 import _IS3741_ADDR_DEFAULT, NO_BUFFER, IS3741_BGR, MUST_BUFFER | |
from . import IS31FL3741_colorXY | |
-try: | |
- # Used only for typing | |
- from typing import Tuple, Any # pylint: disable=unused-import | |
- import busio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/is31fl3741/adafruit_is31fl3741/issi_evb.py | |
+++ libraries/drivers/is31fl3741/adafruit_is31fl3741/issi_evb.munged.py | |
@@ -30,11 +30,11 @@ | |
from adafruit_is31fl3741 import _IS3741_ADDR_DEFAULT, NO_BUFFER, IS3741_BGR | |
from adafruit_is31fl3741 import IS31FL3741_colorXY | |
-try: | |
- # Used only for typing | |
- from typing import Tuple # pylint: disable=unused-import | |
- import busio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/is31fl3741/adafruit_is31fl3741/__init__.py | |
+++ libraries/drivers/is31fl3741/adafruit_is31fl3741/__init__.munged.py | |
@@ -29,17 +29,17 @@ | |
from adafruit_register.i2c_struct import ROUnaryStruct, UnaryStruct | |
from adafruit_register.i2c_bit import RWBit | |
-try: | |
- # Used only for typing | |
- from typing import Optional, Tuple, Union # pylint: disable=unused-import | |
- from circuitpython_typing.pil import Image | |
- from circuitpython_typing import ReadableBuffer | |
- from adafruit_framebuf import FrameBuffer | |
- import busio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_IS31FL3741.git" | |
_IS3741_ADDR_DEFAULT = 0x30 | |
--- libraries/drivers/lsm6ds/adafruit_lsm6ds/lsm6dsox.py | |
+++ libraries/drivers/lsm6ds/adafruit_lsm6ds/lsm6dsox.munged.py | |
@@ -7,10 +7,10 @@ | |
""" | |
from . import LSM6DS, LSM6DS_DEFAULT_ADDRESS, LSM6DS_CHIP_ID | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/lsm6ds/adafruit_lsm6ds/lsm6dso32.py | |
+++ libraries/drivers/lsm6ds/adafruit_lsm6ds/lsm6dso32.munged.py | |
@@ -7,10 +7,10 @@ | |
""" | |
from . import LSM6DS, LSM6DS_CHIP_ID, LSM6DS_DEFAULT_ADDRESS, AccelRange | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/lsm6ds/adafruit_lsm6ds/__init__.py | |
+++ libraries/drivers/lsm6ds/adafruit_lsm6ds/__init__.munged.py | |
@@ -52,7 +52,7 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LSM6DS.git" | |
import struct | |
@@ -65,10 +65,10 @@ | |
from adafruit_register.i2c_bits import RWBits | |
from adafruit_register.i2c_bit import RWBit, ROBit | |
-try: | |
- from typing import Tuple, Optional | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/lsm6ds/adafruit_lsm6ds/ism330dhcx.py | |
+++ libraries/drivers/lsm6ds/adafruit_lsm6ds/ism330dhcx.munged.py | |
@@ -8,10 +8,10 @@ | |
from time import sleep | |
from . import LSM6DS, LSM6DS_DEFAULT_ADDRESS, GyroRange, RWBit, const | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_LSM6DS_CTRL2_G = const(0x11) | |
--- libraries/drivers/max7219/adafruit_max7219/max7219.py | |
+++ libraries/drivers/max7219/adafruit_max7219/max7219.munged.py | |
@@ -45,14 +45,14 @@ | |
from micropython import const | |
import adafruit_framebuf as framebuf | |
-try: | |
- # Used only for typing | |
- import typing # pylint: disable=unused-import | |
- import busio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MAX7219.git" | |
# register definitions | |
--- libraries/drivers/max7219/adafruit_max7219/bcddigits.py | |
+++ libraries/drivers/max7219/adafruit_max7219/bcddigits.munged.py | |
@@ -9,15 +9,15 @@ | |
from micropython import const | |
from adafruit_max7219 import max7219 | |
-try: | |
- # Used only for typing | |
- from typing import List | |
- import digitalio | |
- import busio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MAX7219.git" | |
_DECODEMODE = const(9) | |
--- libraries/drivers/max7219/adafruit_max7219/matrices.py | |
+++ libraries/drivers/max7219/adafruit_max7219/matrices.munged.py | |
@@ -11,15 +11,15 @@ | |
from adafruit_framebuf import BitmapFont | |
from adafruit_max7219 import max7219 | |
-try: | |
- # Used only for typing | |
- from typing import Tuple | |
- import digitalio | |
- import busio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MAX7219.git" | |
_DECODEMODE = const(9) | |
--- libraries/drivers/max7219/adafruit_max7219/__init__.py | |
+++ libraries/drivers/max7219/adafruit_max7219/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/drivers/mcp230xx/adafruit_mcp230xx/mcp23s17.py | |
+++ libraries/drivers/mcp230xx/adafruit_mcp230xx/mcp23s17.munged.py | |
@@ -17,14 +17,14 @@ | |
from .mcp23sxx import MCP23SXX | |
from .digital_inout import DigitalInOut | |
-try: | |
- from typing import List | |
- from busio import SPI | |
- import digitalio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MCP230xx.git" | |
_MCP23S17_ADDRESS = const(0x20) | |
--- libraries/drivers/mcp230xx/adafruit_mcp230xx/mcp23016.py | |
+++ libraries/drivers/mcp230xx/adafruit_mcp230xx/mcp23016.munged.py | |
@@ -24,13 +24,13 @@ | |
from .mcp230xx import MCP230XX | |
from .digital_inout import DigitalInOut | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MCP230xx.git" | |
_MCP23016_ADDRESS = const(0x20) | |
--- libraries/drivers/mcp230xx/adafruit_mcp230xx/mcp23sxx.py | |
+++ libraries/drivers/mcp230xx/adafruit_mcp230xx/mcp23sxx.munged.py | |
@@ -15,14 +15,14 @@ | |
from .mcp23xxx import MCP23XXX | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import SPI | |
- import digitalio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MCP230xx.git" | |
# shared between both the MCP23S17 class to reduce memory allocations. | |
--- libraries/drivers/mcp230xx/adafruit_mcp230xx/mcp23017.py | |
+++ libraries/drivers/mcp230xx/adafruit_mcp230xx/mcp23017.munged.py | |
@@ -30,13 +30,13 @@ | |
from .mcp230xx import MCP230XX | |
from .digital_inout import DigitalInOut | |
-try: | |
- from typing import List | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MCP230xx.git" | |
_MCP23017_ADDRESS = const(0x20) | |
--- libraries/drivers/mcp230xx/adafruit_mcp230xx/mcp230xx.py | |
+++ libraries/drivers/mcp230xx/adafruit_mcp230xx/mcp230xx.munged.py | |
@@ -15,7 +15,7 @@ | |
from .mcp23xxx import MCP23XXX | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MCP230xx.git" | |
# Global buffer for reading and writing registers with the devices. This is | |
--- libraries/drivers/mcp230xx/adafruit_mcp230xx/mcp23xxx.py | |
+++ libraries/drivers/mcp230xx/adafruit_mcp230xx/mcp23xxx.munged.py | |
@@ -13,14 +13,14 @@ | |
from adafruit_bus_device import i2c_device, spi_device | |
-try: | |
- from typing import Union, Optional | |
- from busio import I2C, SPI | |
- import digitalio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MCP230xx.git" | |
--- libraries/drivers/mcp230xx/adafruit_mcp230xx/mcp23s08.py | |
+++ libraries/drivers/mcp230xx/adafruit_mcp230xx/mcp23s08.munged.py | |
@@ -17,14 +17,14 @@ | |
from .mcp23sxx import MCP23SXX | |
from .digital_inout import DigitalInOut | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import SPI | |
- import digitalio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MCP23Sxx.git" | |
_MCP23S08_ADDRESS = const(0x20) | |
--- libraries/drivers/mcp230xx/adafruit_mcp230xx/digital_inout.py | |
+++ libraries/drivers/mcp230xx/adafruit_mcp230xx/digital_inout.munged.py | |
@@ -14,14 +14,14 @@ | |
import digitalio | |
-try: | |
- from typing import Optional | |
- from adafruit_mcp230xx.mcp23xxx import MCP23XXX | |
- from digitalio import Pull, Direction | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MCP230xx.git" | |
--- libraries/drivers/mcp230xx/adafruit_mcp230xx/mcp23008.py | |
+++ libraries/drivers/mcp230xx/adafruit_mcp230xx/mcp23008.munged.py | |
@@ -25,13 +25,13 @@ | |
from .mcp230xx import MCP230XX | |
from .digital_inout import DigitalInOut | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MCP230xx.git" | |
_MCP23008_ADDRESS = const(0x20) | |
--- libraries/drivers/mcp2515/adafruit_mcp2515/__init__.py | |
+++ libraries/drivers/mcp2515/adafruit_mcp2515/__init__.munged.py | |
@@ -39,7 +39,7 @@ | |
except ImportError: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MCP2515.git" | |
# modes | |
--- libraries/drivers/mcp3421/adafruit_mcp3421/mcp3421.py | |
+++ libraries/drivers/mcp3421/adafruit_mcp3421/mcp3421.munged.py | |
@@ -32,7 +32,7 @@ | |
from adafruit_bus_device.i2c_device import I2CDevice | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MCP3421.git" | |
--- libraries/drivers/mcp3421/adafruit_mcp3421/__init__.py | |
+++ libraries/drivers/mcp3421/adafruit_mcp3421/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/drivers/mcp3xxx/adafruit_mcp3xxx/mcp3004.py | |
+++ libraries/drivers/mcp3xxx/adafruit_mcp3xxx/mcp3004.munged.py | |
@@ -18,11 +18,11 @@ | |
from .mcp3xxx import MCP3xxx | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from digitalio import DigitalInOut | |
- from busio import SPI | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
# MCP3004 Pin Mapping | |
--- libraries/drivers/mcp3xxx/adafruit_mcp3xxx/mcp3008.py | |
+++ libraries/drivers/mcp3xxx/adafruit_mcp3xxx/mcp3008.munged.py | |
@@ -18,11 +18,11 @@ | |
from .mcp3xxx import MCP3xxx | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from digitalio import DigitalInOut | |
- from busio import SPI | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
# MCP3008 Pin Mapping | |
--- libraries/drivers/mcp3xxx/adafruit_mcp3xxx/analog_in.py | |
+++ libraries/drivers/mcp3xxx/adafruit_mcp3xxx/analog_in.munged.py | |
@@ -20,9 +20,9 @@ | |
from .mcp3xxx import MCP3xxx | |
-try: | |
- from typing import Optional | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/mcp3xxx/adafruit_mcp3xxx/mcp3xxx.py | |
+++ libraries/drivers/mcp3xxx/adafruit_mcp3xxx/mcp3xxx.munged.py | |
@@ -37,16 +37,16 @@ | |
`MCP3004`_, `MCP3002`_) for a list of available differential channel mappings. | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MCP3xxx.git" | |
from adafruit_bus_device.spi_device import SPIDevice | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from digitalio import DigitalInOut | |
- from busio import SPI | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/mcp3xxx/adafruit_mcp3xxx/__init__.py | |
+++ libraries/drivers/mcp3xxx/adafruit_mcp3xxx/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/drivers/neotrellis/adafruit_neotrellis/multitrellis.py | |
+++ libraries/drivers/neotrellis/adafruit_neotrellis/multitrellis.munged.py | |
@@ -28,7 +28,7 @@ | |
https://github.com/adafruit/Adafruit_CircuitPython_seesaw/releases | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_neotrellis.git" | |
--- libraries/drivers/neotrellis/adafruit_neotrellis/neotrellis.py | |
+++ libraries/drivers/neotrellis/adafruit_neotrellis/neotrellis.munged.py | |
@@ -28,7 +28,7 @@ | |
https://github.com/adafruit/Adafruit_CircuitPython_seesaw/releases | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_neotrellis.git" | |
from time import sleep | |
--- libraries/drivers/neotrellis/adafruit_neotrellis/__init__.py | |
+++ libraries/drivers/neotrellis/adafruit_neotrellis/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/drivers/pcf8523/adafruit_pcf8523/timer.py | |
+++ libraries/drivers/pcf8523/adafruit_pcf8523/timer.munged.py | |
@@ -51,7 +51,7 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PCF8523.git" | |
import time | |
@@ -61,10 +61,10 @@ | |
from adafruit_register import i2c_bits | |
from micropython import const | |
-try: | |
- from typing import Union | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/pcf8523/adafruit_pcf8523/clock.py | |
+++ libraries/drivers/pcf8523/adafruit_pcf8523/clock.munged.py | |
@@ -47,7 +47,7 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PCF8523.git" | |
import time | |
@@ -56,10 +56,10 @@ | |
from adafruit_register import i2c_bits | |
from micropython import const | |
-try: | |
- from typing import Union | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/pcf8523/adafruit_pcf8523/pcf8523.py | |
+++ libraries/drivers/pcf8523/adafruit_pcf8523/pcf8523.munged.py | |
@@ -44,7 +44,7 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PCF8523.git" | |
from adafruit_bus_device.i2c_device import I2CDevice | |
@@ -53,11 +53,11 @@ | |
from adafruit_register import i2c_bcd_alarm | |
from adafruit_register import i2c_bcd_datetime | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
- from time import struct_time | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
STANDARD_BATTERY_SWITCHOVER_AND_DETECTION = 0b000 | |
--- libraries/drivers/pcf8563/adafruit_pcf8563/timer.py | |
+++ libraries/drivers/pcf8563/adafruit_pcf8563/timer.munged.py | |
@@ -40,7 +40,7 @@ | |
#. Datasheet: http://cache.nxp.com/documents/data_sheet/PCF8563.pdf | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PCF8563.git" | |
import time | |
@@ -50,10 +50,10 @@ | |
from adafruit_register import i2c_bits | |
from micropython import const | |
-try: | |
- from typing import Union | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/pcf8563/adafruit_pcf8563/pcf8563.py | |
+++ libraries/drivers/pcf8563/adafruit_pcf8563/pcf8563.munged.py | |
@@ -41,7 +41,7 @@ | |
#. Datasheet: http://cache.nxp.com/documents/data_sheet/PCF8563.pdf | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PCF8563.git" | |
import time | |
@@ -51,10 +51,10 @@ | |
from adafruit_register import i2c_bcd_alarm | |
from adafruit_register import i2c_bcd_datetime | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/pcf8563/adafruit_pcf8563/clock.py | |
+++ libraries/drivers/pcf8563/adafruit_pcf8563/clock.munged.py | |
@@ -40,7 +40,7 @@ | |
#. Datasheet: http://cache.nxp.com/documents/data_sheet/PCF8563.pdf | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PCF8563.git" | |
import time | |
@@ -50,10 +50,10 @@ | |
from adafruit_register import i2c_bits | |
from micropython import const | |
-try: | |
- from typing import Union | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/pcf8591/adafruit_pcf8591/analog_in.py | |
+++ libraries/drivers/pcf8591/adafruit_pcf8591/analog_in.munged.py | |
@@ -27,11 +27,11 @@ | |
* Author(s): Bryan Siepert, adpted from ADS1x15 by Carter Nelson | |
""" | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from typing_extensions import Literal | |
- from adafruit_pcf8591.pcf8591 import PCF8591 | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/pcf8591/adafruit_pcf8591/pcf8591.py | |
+++ libraries/drivers/pcf8591/adafruit_pcf8591/pcf8591.munged.py | |
@@ -26,18 +26,18 @@ | |
* Adafruit's Register library: https://github.com/adafruit/Adafruit_CircuitPython_Register | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PCF8591.git" | |
# from time import sleep | |
from struct import unpack_from | |
from micropython import const | |
from adafruit_bus_device import i2c_device | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from typing_extensions import Literal | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_PCF8591_DEFAULT_ADDR = const(0x48) # PCF8591 Default Address | |
--- libraries/drivers/pcf8591/adafruit_pcf8591/analog_out.py | |
+++ libraries/drivers/pcf8591/adafruit_pcf8591/analog_out.munged.py | |
@@ -26,11 +26,11 @@ | |
* Author(s): Bryan Siepert | |
""" | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from typing_extensions import Literal | |
- from adafruit_pcf8591.pcf8591 import PCF8591 | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/pcf8591/adafruit_pcf8591/__init__.py | |
+++ libraries/drivers/pcf8591/adafruit_pcf8591/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/drivers/pm25/adafruit_pm25/i2c.py | |
+++ libraries/drivers/pm25/adafruit_pm25/i2c.munged.py | |
@@ -39,11 +39,11 @@ | |
from adafruit_bus_device.i2c_device import I2CDevice | |
from . import PM25 | |
-try: | |
- # Used only for typing | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/pm25/adafruit_pm25/uart.py | |
+++ libraries/drivers/pm25/adafruit_pm25/uart.munged.py | |
@@ -33,11 +33,11 @@ | |
from digitalio import Direction, DigitalInOut | |
from . import PM25 | |
-try: | |
- # Used only for typing | |
- import typing # pylint: disable=unused-import | |
- from busio import UART | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/pm25/adafruit_pm25/__init__.py | |
+++ libraries/drivers/pm25/adafruit_pm25/__init__.munged.py | |
@@ -37,7 +37,7 @@ | |
import struct | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PM25.git" | |
--- libraries/drivers/pn532/adafruit_pn532/i2c.py | |
+++ libraries/drivers/pn532/adafruit_pn532/i2c.munged.py | |
@@ -14,7 +14,7 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PN532.git" | |
import time | |
@@ -23,11 +23,11 @@ | |
from micropython import const | |
from adafruit_pn532.adafruit_pn532 import PN532, BusyError | |
-try: | |
- from typing import Optional | |
- from digitalio import DigitalInOut # pylint: disable=ungrouped-imports | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_I2C_ADDRESS = const(0x24) | |
--- libraries/drivers/pn532/adafruit_pn532/spi.py | |
+++ libraries/drivers/pn532/adafruit_pn532/spi.munged.py | |
@@ -14,15 +14,15 @@ | |
""" | |
-try: | |
- from typing import Optional | |
- from circuitpython_typing import ReadableBuffer | |
- from digitalio import DigitalInOut | |
- from busio import SPI | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PN532.git" | |
import time | |
--- libraries/drivers/pn532/adafruit_pn532/adafruit_pn532.py | |
+++ libraries/drivers/pn532/adafruit_pn532/adafruit_pn532.munged.py | |
@@ -31,15 +31,15 @@ | |
from digitalio import Direction | |
from micropython import const | |
-try: | |
- from typing import Optional, Tuple, Union | |
- from typing_extensions import Literal | |
- from circuitpython_typing import ReadableBuffer | |
- from digitalio import DigitalInOut # pylint: disable=ungrouped-imports | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PN532.git" | |
_PREAMBLE = const(0x00) | |
--- libraries/drivers/pn532/adafruit_pn532/uart.py | |
+++ libraries/drivers/pn532/adafruit_pn532/uart.munged.py | |
@@ -14,15 +14,15 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PN532.git" | |
-try: | |
- from typing import Optional | |
- from circuitpython_typing import ReadableBuffer | |
- from digitalio import DigitalInOut | |
- from busio import UART | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import time | |
--- libraries/drivers/pn532/adafruit_pn532/__init__.py | |
+++ libraries/drivers/pn532/adafruit_pn532/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/drivers/pyportal/adafruit_pyportal/network.py | |
+++ libraries/drivers/pyportal/adafruit_pyportal/network.munged.py | |
@@ -36,7 +36,7 @@ | |
# pylint: enable=unused-import | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PyPortal.git" | |
# you'll need to pass in an io username, width, height, format (bit depth), io key, and then url! | |
--- libraries/drivers/pyportal/adafruit_pyportal/__init__.py | |
+++ libraries/drivers/pyportal/adafruit_pyportal/__init__.munged.py | |
@@ -34,7 +34,7 @@ | |
from adafruit_pyportal.graphics import Graphics | |
from adafruit_pyportal.peripherals import Peripherals | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PyPortal.git" | |
--- libraries/drivers/pyportal/adafruit_pyportal/peripherals.py | |
+++ libraries/drivers/pyportal/adafruit_pyportal/peripherals.munged.py | |
@@ -41,7 +41,7 @@ | |
NATIVE_SD = False | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PyPortal.git" | |
--- libraries/drivers/pyportal/adafruit_pyportal/graphics.py | |
+++ libraries/drivers/pyportal/adafruit_pyportal/graphics.munged.py | |
@@ -26,7 +26,7 @@ | |
import board | |
from adafruit_portalbase.graphics import GraphicsBase | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PyPortal.git" | |
--- libraries/drivers/ra8875/adafruit_ra8875/ra8875.py | |
+++ libraries/drivers/ra8875/adafruit_ra8875/ra8875.munged.py | |
@@ -34,14 +34,14 @@ | |
from adafruit_bus_device import spi_device | |
import adafruit_ra8875.registers as reg | |
-try: | |
- from typing import Optional, Tuple, Union | |
- from digitalio import DigitalInOut # pylint: disable=ungrouped-imports | |
- from busio import SPI | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RA8875.git" | |
--- libraries/drivers/ra8875/adafruit_ra8875/__init__.py | |
+++ libraries/drivers/ra8875/adafruit_ra8875/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/drivers/rgb-display/adafruit_rgb_display/hx8353.py | |
+++ libraries/drivers/rgb-display/adafruit_rgb_display/hx8353.munged.py | |
@@ -14,14 +14,14 @@ | |
from micropython import const | |
from adafruit_rgb_display.rgb import DisplaySPI | |
-try: | |
- from typing import Optional | |
- import digitalio | |
- import busio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RGB_Display.git" | |
_SWRESET = const(0x01) | |
--- libraries/drivers/rgb-display/adafruit_rgb_display/s6d02a1.py | |
+++ libraries/drivers/rgb-display/adafruit_rgb_display/s6d02a1.munged.py | |
@@ -15,14 +15,14 @@ | |
from micropython import const | |
from adafruit_rgb_display.rgb import DisplaySPI | |
-try: | |
- from typing import Optional | |
- import digitalio | |
- import busio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RGB_Display.git" | |
_SWRESET = const(0x01) | |
--- libraries/drivers/rgb-display/adafruit_rgb_display/ili9341.py | |
+++ libraries/drivers/rgb-display/adafruit_rgb_display/ili9341.munged.py | |
@@ -15,14 +15,14 @@ | |
from adafruit_rgb_display.rgb import DisplaySPI | |
-try: | |
- from typing import Optional | |
- import digitalio | |
- import busio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RGB_Display.git" | |
--- libraries/drivers/rgb-display/adafruit_rgb_display/hx8357.py | |
+++ libraries/drivers/rgb-display/adafruit_rgb_display/hx8357.munged.py | |
@@ -14,14 +14,14 @@ | |
from micropython import const | |
from adafruit_rgb_display.rgb import DisplaySPI | |
-try: | |
- from typing import Optional | |
- import digitalio | |
- import busio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RGB_Display.git" | |
_SWRESET = const(0x01) | |
--- libraries/drivers/rgb-display/adafruit_rgb_display/rgb.py | |
+++ libraries/drivers/rgb-display/adafruit_rgb_display/rgb.munged.py | |
@@ -15,13 +15,13 @@ | |
import struct | |
import time | |
-try: | |
- from typing import Optional, Union, Tuple, List, Any, ByteString | |
- import digitalio | |
- import busio | |
- | |
- from circuitpython_typing.pil import Image | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
try: | |
@@ -31,7 +31,7 @@ | |
from adafruit_bus_device import spi_device | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RGB_Display.git" | |
# This is the size of the buffer to be used for fill operations, in 16-bit | |
--- libraries/drivers/rgb-display/adafruit_rgb_display/st7789.py | |
+++ libraries/drivers/rgb-display/adafruit_rgb_display/st7789.munged.py | |
@@ -19,12 +19,12 @@ | |
from micropython import const | |
from adafruit_rgb_display.rgb import DisplaySPI | |
-try: | |
- from typing import Optional | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RGB_Display.git" | |
_NOP = const(0x00) | |
--- libraries/drivers/rgb-display/adafruit_rgb_display/ssd1351.py | |
+++ libraries/drivers/rgb-display/adafruit_rgb_display/ssd1351.munged.py | |
@@ -14,14 +14,14 @@ | |
from micropython import const | |
from adafruit_rgb_display.rgb import DisplaySPI | |
-try: | |
- from typing import Optional | |
- import digitalio | |
- import busio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RGB_Display.git" | |
_SETCOLUMN = const(0x15) | |
--- libraries/drivers/rgb-display/adafruit_rgb_display/st7735.py | |
+++ libraries/drivers/rgb-display/adafruit_rgb_display/st7735.munged.py | |
@@ -16,14 +16,14 @@ | |
from micropython import const | |
from adafruit_rgb_display.rgb import DisplaySPI | |
-try: | |
- from typing import Optional, Tuple, ByteString, Union | |
- import digitalio | |
- import busio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RGB_Display.git" | |
_NOP = const(0x00) | |
--- libraries/drivers/rgb-display/adafruit_rgb_display/ssd1331.py | |
+++ libraries/drivers/rgb-display/adafruit_rgb_display/ssd1331.munged.py | |
@@ -15,14 +15,14 @@ | |
from micropython import const | |
from adafruit_rgb_display.rgb import DisplaySPI | |
-try: | |
- from typing import Optional, ByteString | |
- import digitalio | |
- import busio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RGB_Display.git" | |
--- libraries/drivers/seesaw/adafruit_seesaw/seesaw.py | |
+++ libraries/drivers/seesaw/adafruit_seesaw/seesaw.munged.py | |
@@ -42,7 +42,7 @@ | |
from adafruit_bus_device.i2c_device import I2CDevice | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_seesaw.git" | |
_STATUS_BASE = const(0x00) | |
--- libraries/drivers/seesaw/adafruit_seesaw/attinyx16.py | |
+++ libraries/drivers/seesaw/adafruit_seesaw/attinyx16.munged.py | |
@@ -8,7 +8,7 @@ | |
================================================================================== | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_seesaw.git" | |
--- libraries/drivers/seesaw/adafruit_seesaw/neopixel.py | |
+++ libraries/drivers/seesaw/adafruit_seesaw/neopixel.munged.py | |
@@ -25,7 +25,7 @@ | |
"seesaw neopixel being imported from unexpected location - is seesaw neopixel use intended?" | |
) | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_seesaw.git" | |
_NEOPIXEL_BASE = const(0x0E) | |
--- libraries/drivers/seesaw/adafruit_seesaw/rotaryio.py | |
+++ libraries/drivers/seesaw/adafruit_seesaw/rotaryio.munged.py | |
@@ -10,7 +10,7 @@ | |
==================================================== | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_seesaw.git" | |
--- libraries/drivers/seesaw/adafruit_seesaw/tftshield18.py | |
+++ libraries/drivers/seesaw/adafruit_seesaw/tftshield18.munged.py | |
@@ -22,7 +22,7 @@ | |
from adafruit_seesaw.seesaw import Seesaw | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_seesaw.git" | |
_TIMER_BASE = const(0x08) | |
--- libraries/drivers/seesaw/adafruit_seesaw/robohat.py | |
+++ libraries/drivers/seesaw/adafruit_seesaw/robohat.munged.py | |
@@ -17,7 +17,7 @@ | |
return x | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_seesaw.git" | |
# Robo HAT MM1 Board: https://www.crowdsupply.com/robotics-masters/robo-hat-mm1 | |
--- libraries/drivers/seesaw/adafruit_seesaw/attiny8x7.py | |
+++ libraries/drivers/seesaw/adafruit_seesaw/attiny8x7.munged.py | |
@@ -9,7 +9,7 @@ | |
================================================================================== | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_seesaw.git" | |
--- libraries/drivers/seesaw/adafruit_seesaw/pwmout.py | |
+++ libraries/drivers/seesaw/adafruit_seesaw/pwmout.munged.py | |
@@ -9,7 +9,7 @@ | |
==================================================== | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_seesaw.git" | |
--- libraries/drivers/seesaw/adafruit_seesaw/samd09.py | |
+++ libraries/drivers/seesaw/adafruit_seesaw/samd09.munged.py | |
@@ -17,7 +17,7 @@ | |
return x | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_seesaw.git" | |
_ADC_INPUT_0_PIN = const(0x02) | |
--- libraries/drivers/seesaw/adafruit_seesaw/digitalio.py | |
+++ libraries/drivers/seesaw/adafruit_seesaw/digitalio.munged.py | |
@@ -11,7 +11,7 @@ | |
import digitalio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_seesaw.git" | |
--- libraries/drivers/seesaw/adafruit_seesaw/__init__.py | |
+++ libraries/drivers/seesaw/adafruit_seesaw/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/drivers/seesaw/adafruit_seesaw/crickit.py | |
+++ libraries/drivers/seesaw/adafruit_seesaw/crickit.munged.py | |
@@ -17,7 +17,7 @@ | |
return x | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_seesaw.git" | |
# The ordering here reflects the seesaw firmware pinmap for crickit, | |
--- libraries/drivers/seesaw/adafruit_seesaw/analoginput.py | |
+++ libraries/drivers/seesaw/adafruit_seesaw/analoginput.munged.py | |
@@ -9,7 +9,7 @@ | |
==================================================== | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_seesaw.git" | |
--- libraries/drivers/seesaw/adafruit_seesaw/keypad.py | |
+++ libraries/drivers/seesaw/adafruit_seesaw/keypad.munged.py | |
@@ -19,7 +19,7 @@ | |
from adafruit_seesaw.seesaw import Seesaw | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_seesaw.git" | |
_KEYPAD_BASE = const(0x10) | |
--- libraries/drivers/sgp40/adafruit_sgp40/__init__.py | |
+++ libraries/drivers/sgp40/adafruit_sgp40/__init__.munged.py | |
@@ -33,14 +33,14 @@ | |
from struct import unpack_from | |
from adafruit_bus_device import i2c_device | |
-try: | |
- from typing import List, Optional | |
- from circuitpython_typing import ReadableBuffer | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SGP40.git" | |
_WORD_LEN = 2 | |
--- libraries/drivers/sgp40/adafruit_sgp40/voc_algorithm.py | |
+++ libraries/drivers/sgp40/adafruit_sgp40/voc_algorithm.munged.py | |
@@ -13,9 +13,9 @@ | |
""" | |
from micropython import const | |
-try: | |
- from typing import Tuple | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
_VOCALGORITHM_SAMPLING_INTERVAL = const(1) | |
--- libraries/drivers/si7021/adafruit_si7021/i2c_bits.py | |
+++ libraries/drivers/si7021/adafruit_si7021/i2c_bits.munged.py | |
@@ -6,9 +6,9 @@ | |
and write registers being different | |
""" | |
-try: | |
- from typing import Optional, Type | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/si7021/adafruit_si7021/__init__.py | |
+++ libraries/drivers/si7021/adafruit_si7021/__init__.munged.py | |
@@ -31,13 +31,13 @@ | |
from micropython import const | |
from adafruit_si7021.i2c_bits import _RWDifferentBit, _RWDifferentBits | |
-try: | |
- from typing import Optional, Tuple | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_SI7021.git" | |
HUMIDITY = const(0xF5) | |
--- libraries/drivers/thermal_printer/adafruit_thermal_printer/thermal_printer_legacy.py | |
+++ libraries/drivers/thermal_printer/adafruit_thermal_printer/thermal_printer_legacy.munged.py | |
@@ -21,14 +21,14 @@ | |
from adafruit_thermal_printer import thermal_printer | |
from micropython import const | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import UART | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Thermal_Printer.git" | |
--- libraries/drivers/thermal_printer/adafruit_thermal_printer/thermal_printer_264.py | |
+++ libraries/drivers/thermal_printer/adafruit_thermal_printer/thermal_printer_264.munged.py | |
@@ -21,14 +21,14 @@ | |
from adafruit_thermal_printer import thermal_printer | |
from micropython import const | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import UART | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Thermal_Printer.git" | |
--- libraries/drivers/thermal_printer/adafruit_thermal_printer/thermal_printer_2168.py | |
+++ libraries/drivers/thermal_printer/adafruit_thermal_printer/thermal_printer_2168.munged.py | |
@@ -23,11 +23,11 @@ | |
from adafruit_thermal_printer import thermal_printer | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import UART | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
# pylint: disable=too-many-arguments | |
--- libraries/drivers/thermal_printer/adafruit_thermal_printer/thermal_printer.py | |
+++ libraries/drivers/thermal_printer/adafruit_thermal_printer/thermal_printer.munged.py | |
@@ -35,16 +35,16 @@ | |
from micropython import const | |
-try: | |
- from typing import Optional, Type | |
- | |
- from busio import UART | |
- from circuitpython_typing import ReadableBuffer | |
- from typing_extensions import Literal | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Thermal_Printer.git" | |
--- libraries/drivers/tla202x/adafruit_tla202x/__init__.py | |
+++ libraries/drivers/tla202x/adafruit_tla202x/__init__.munged.py | |
@@ -33,13 +33,13 @@ | |
from adafruit_register.i2c_bits import RWBits | |
from adafruit_register.i2c_bit import RWBit | |
-try: | |
- from typing import Tuple, Union, Optional | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_TLA202x.git" | |
_TLA_DEFAULT_ADDRESS = const(0x48) | |
--- libraries/drivers/wiznet5k/adafruit_wiznet5k/adafruit_wiznet5k_dhcp.py | |
+++ libraries/drivers/wiznet5k/adafruit_wiznet5k/adafruit_wiznet5k_dhcp.munged.py | |
@@ -14,14 +14,14 @@ | |
* Author(s): Jordan Terrell, Brent Rubell, Martin Stephens | |
""" | |
-from __future__ import annotations | |
- | |
-try: | |
- from typing import TYPE_CHECKING, Optional, Union, Tuple | |
- | |
- if TYPE_CHECKING: | |
- from adafruit_wiznet5k.adafruit_wiznet5k import WIZNET5K | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/drivers/wiznet5k/adafruit_wiznet5k/adafruit_wiznet5k_socket.py | |
+++ libraries/drivers/wiznet5k/adafruit_wiznet5k/adafruit_wiznet5k_socket.munged.py | |
@@ -14,14 +14,14 @@ | |
* Author(s): ladyada, Brent Rubell, Patrick Van Oosterwijck, Adam Cummick, Martin Stephens | |
""" | |
-from __future__ import annotations | |
- | |
-try: | |
- from typing import TYPE_CHECKING, List, Optional, Tuple, Union | |
- | |
- if TYPE_CHECKING: | |
- from adafruit_wiznet5k.adafruit_wiznet5k import WIZNET5K | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import gc | |
--- libraries/drivers/wiznet5k/adafruit_wiznet5k/adafruit_wiznet5k_debug.py | |
+++ libraries/drivers/wiznet5k/adafruit_wiznet5k/adafruit_wiznet5k_debug.munged.py | |
@@ -3,12 +3,12 @@ | |
# SPDX-License-Identifier: MIT | |
"""Makes a debug message function available to all modules.""" | |
-try: | |
- from typing import TYPE_CHECKING, Union | |
- if TYPE_CHECKING: | |
- from adafruit_wiznet5k.adafruit_wiznet5k import WIZNET5K | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import gc | |
--- libraries/drivers/wiznet5k/adafruit_wiznet5k/adafruit_wiznet5k_dns.py | |
+++ libraries/drivers/wiznet5k/adafruit_wiznet5k/adafruit_wiznet5k_dns.munged.py | |
@@ -13,14 +13,14 @@ | |
* Author(s): MCQN Ltd, Brent Rubell, Martin Stephens | |
""" | |
-from __future__ import annotations | |
- | |
-try: | |
- from typing import TYPE_CHECKING, Union, Tuple | |
- | |
- if TYPE_CHECKING: | |
- from adafruit_wiznet5k.adafruit_wiznet5k import WIZNET5K | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import time | |
--- libraries/drivers/wiznet5k/adafruit_wiznet5k/adafruit_wiznet5k.py | |
+++ libraries/drivers/wiznet5k/adafruit_wiznet5k/adafruit_wiznet5k.munged.py | |
@@ -29,22 +29,22 @@ | |
""" | |
# pylint: disable=too-many-lines | |
-from __future__ import annotations | |
- | |
-try: | |
- from typing import TYPE_CHECKING, Optional, Union, Tuple | |
- | |
- if TYPE_CHECKING: | |
- from circuitpython_typing import WriteableBuffer | |
- import busio | |
- import digitalio | |
- | |
- IpAddress4Raw = Union[bytes, Tuple[int, int, int, int]] | |
- MacAddressRaw = Union[bytes, Tuple[int, int, int, int, int, int]] | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Wiznet5k.git" | |
from random import randint | |
--- libraries/drivers/wiznet5k/adafruit_wiznet5k/__init__.py | |
+++ libraries/drivers/wiznet5k/adafruit_wiznet5k/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/drivers/wiznet5k/adafruit_wiznet5k/adafruit_wiznet5k_wsgiserver.py | |
+++ libraries/drivers/wiznet5k/adafruit_wiznet5k/adafruit_wiznet5k_wsgiserver.munged.py | |
@@ -27,14 +27,14 @@ | |
* Author(s): Matt Costi, Patrick Van Oosterwijck | |
""" | |
# pylint: disable=no-name-in-module | |
-from __future__ import annotations | |
- | |
-try: | |
- from typing import TYPE_CHECKING, Optional, List, Tuple, Dict | |
- | |
- if TYPE_CHECKING: | |
- from adafruit_wiznet5k.adafruit_wiznet5k import WIZNET5K | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import io | |
--- libraries/helpers/adafruitio/adafruit_io/adafruit_io.py | |
+++ libraries/helpers/adafruitio/adafruit_io/adafruit_io.munged.py | |
@@ -22,9 +22,9 @@ | |
import json | |
import re | |
-try: | |
- from typing import List, Any, Callable, Optional | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
from adafruit_minimqtt.adafruit_minimqtt import MMQTTException | |
@@ -34,7 +34,7 @@ | |
AdafruitIO_MQTTError, | |
) | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_AdafruitIO.git" | |
CLIENT_HEADERS = {"User-Agent": "AIO-CircuitPython/{0}".format(__version__)} | |
--- libraries/helpers/adafruitio/adafruit_io/__init__.py | |
+++ libraries/helpers/adafruitio/adafruit_io/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/helpers/airlift/adafruit_airlift/esp32.py | |
+++ libraries/helpers/airlift/adafruit_airlift/esp32.munged.py | |
@@ -16,12 +16,12 @@ | |
import busio | |
from digitalio import DigitalInOut | |
-try: | |
- from typing import Optional | |
- from microcontroller import Pin | |
- from busio import SPI | |
- from _bleio import Adapter | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/airlift/adafruit_airlift/__init__.py | |
+++ libraries/helpers/airlift/adafruit_airlift/__init__.munged.py | |
@@ -21,5 +21,5 @@ | |
# imports | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_AirLift.git" | |
--- libraries/helpers/azure/adafruit_azureiot/hmac.py | |
+++ libraries/helpers/azure/adafruit_azureiot/hmac.munged.py | |
@@ -16,9 +16,9 @@ | |
# pylint: disable=C0103, W0108, R0915, C0116, C0115, unnecessary-lambda-assignment | |
-try: | |
- from typing import Union | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/azure/adafruit_azureiot/iothub_device.py | |
+++ libraries/helpers/azure/adafruit_azureiot/iothub_device.munged.py | |
@@ -12,9 +12,9 @@ | |
* Author(s): Jim Bennett, Elena Horton | |
""" | |
-try: | |
- from typing import Any, Callable, Mapping, Union | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
import json | |
--- libraries/helpers/azure/adafruit_azureiot/__init__.py | |
+++ libraries/helpers/azure/adafruit_azureiot/__init__.munged.py | |
@@ -37,7 +37,7 @@ | |
from .iotcentral_device import IoTCentralDevice | |
from .iothub_device import IoTHubDevice | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_AzureIoT.git" | |
__all__ = ["IoTHubDevice", "IoTCentralDevice", "IoTResponse", "IoTError"] | |
--- libraries/helpers/azure/adafruit_azureiot/quote.py | |
+++ libraries/helpers/azure/adafruit_azureiot/quote.munged.py | |
@@ -12,9 +12,9 @@ | |
""" | |
-try: | |
- from typing import Any, Union | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
_ALWAYS_SAFE = frozenset( | |
--- libraries/helpers/bitmap-font/adafruit_bitmap_font/bitmap_font.py | |
+++ libraries/helpers/bitmap-font/adafruit_bitmap_font/bitmap_font.munged.py | |
@@ -22,16 +22,16 @@ | |
""" | |
-try: | |
- from typing import Optional, Union | |
- from displayio import Bitmap | |
- from . import bdf | |
- from . import pcf | |
- from . import ttf | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Bitmap_Font.git" | |
--- libraries/helpers/bitmap-font/adafruit_bitmap_font/ttf.py | |
+++ libraries/helpers/bitmap-font/adafruit_bitmap_font/ttf.munged.py | |
@@ -5,11 +5,11 @@ | |
# pylint: skip-file | |
# Remove the above when TTF is actually supported. | |
-try: | |
- from typing import Tuple | |
- from io import FileIO | |
- from displayio import Bitmap | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import struct | |
--- libraries/helpers/bitmap-font/adafruit_bitmap_font/bdf.py | |
+++ libraries/helpers/bitmap-font/adafruit_bitmap_font/bdf.munged.py | |
@@ -22,18 +22,18 @@ | |
""" | |
-try: | |
- from typing import Union, Optional, Tuple, Iterable | |
- from io import FileIO | |
- from displayio import Bitmap | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import gc | |
from fontio import Glyph | |
from .glyph_cache import GlyphCache | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Bitmap_Font.git" | |
--- libraries/helpers/bitmap-font/adafruit_bitmap_font/glyph_cache.py | |
+++ libraries/helpers/bitmap-font/adafruit_bitmap_font/glyph_cache.munged.py | |
@@ -22,15 +22,15 @@ | |
""" | |
-try: | |
- from typing import Union, Iterable | |
- from fontio import Glyph | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import gc | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Bitmap_Font.git" | |
--- libraries/helpers/bitmap-font/adafruit_bitmap_font/__init__.py | |
+++ libraries/helpers/bitmap-font/adafruit_bitmap_font/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/helpers/bitmap-font/adafruit_bitmap_font/pcf.py | |
+++ libraries/helpers/bitmap-font/adafruit_bitmap_font/pcf.munged.py | |
@@ -22,11 +22,11 @@ | |
""" | |
-try: | |
- from typing import Union, Tuple, Iterator, Iterable | |
- from io import FileIO | |
- from displayio import Bitmap as displayioBitmap | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
from collections import namedtuple | |
--- libraries/helpers/ble_adafruit/adafruit_ble_adafruit/proximity_service.py | |
+++ libraries/helpers/ble_adafruit/adafruit_ble_adafruit/proximity_service.munged.py | |
@@ -10,7 +10,7 @@ | |
* Author(s): Dan Halbert | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Adafruit.git" | |
from adafruit_ble.attributes import Attribute | |
--- libraries/helpers/ble_adafruit/adafruit_ble_adafruit/magnetometer_service.py | |
+++ libraries/helpers/ble_adafruit/adafruit_ble_adafruit/magnetometer_service.munged.py | |
@@ -11,7 +11,7 @@ | |
* Author(s): Dan Halbert | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Adafruit.git" | |
from adafruit_ble.attributes import Attribute | |
--- libraries/helpers/ble_adafruit/adafruit_ble_adafruit/light_sensor_service.py | |
+++ libraries/helpers/ble_adafruit/adafruit_ble_adafruit/light_sensor_service.munged.py | |
@@ -11,7 +11,7 @@ | |
* Author(s): Dan Halbert | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Adafruit.git" | |
from adafruit_ble.attributes import Attribute | |
--- libraries/helpers/ble_adafruit/adafruit_ble_adafruit/barometric_pressure_service.py | |
+++ libraries/helpers/ble_adafruit/adafruit_ble_adafruit/barometric_pressure_service.munged.py | |
@@ -11,7 +11,7 @@ | |
* Author(s): Dan Halbert | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Adafruit.git" | |
from adafruit_ble.attributes import Attribute | |
--- libraries/helpers/ble_adafruit/adafruit_ble_adafruit/temperature_service.py | |
+++ libraries/helpers/ble_adafruit/adafruit_ble_adafruit/temperature_service.munged.py | |
@@ -11,7 +11,7 @@ | |
* Author(s): Dan Halbert | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Adafruit.git" | |
from adafruit_ble.attributes import Attribute | |
--- libraries/helpers/ble_adafruit/adafruit_ble_adafruit/humidity_service.py | |
+++ libraries/helpers/ble_adafruit/adafruit_ble_adafruit/humidity_service.munged.py | |
@@ -11,7 +11,7 @@ | |
* Author(s): Dan Halbert | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Adafruit.git" | |
--- libraries/helpers/ble_adafruit/adafruit_ble_adafruit/button_service.py | |
+++ libraries/helpers/ble_adafruit/adafruit_ble_adafruit/button_service.munged.py | |
@@ -10,7 +10,7 @@ | |
* Author(s): Dan Halbert | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Adafruit.git" | |
from adafruit_ble.attributes import Attribute | |
--- libraries/helpers/ble_adafruit/adafruit_ble_adafruit/adafruit_service.py | |
+++ libraries/helpers/ble_adafruit/adafruit_ble_adafruit/adafruit_service.munged.py | |
@@ -24,7 +24,7 @@ | |
https://github.com/adafruit/circuitpython/releases | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Adafruit.git" | |
import struct | |
@@ -43,10 +43,10 @@ | |
from adafruit_ble.uuid import VendorUUID | |
from adafruit_ble.services import Service | |
-try: | |
- from typing import Optional | |
- from _bleio import ScanEntry | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/ble_adafruit/adafruit_ble_adafruit/tone_service.py | |
+++ libraries/helpers/ble_adafruit/adafruit_ble_adafruit/tone_service.munged.py | |
@@ -11,7 +11,7 @@ | |
* Author(s): Dan Halbert | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Adafruit.git" | |
import struct | |
@@ -22,9 +22,9 @@ | |
from adafruit_ble.characteristics import Characteristic, ComplexCharacteristic | |
from adafruit_ble_adafruit.adafruit_service import AdafruitService | |
-try: | |
- from typing import Optional, Tuple | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/ble_adafruit/adafruit_ble_adafruit/quaternion_service.py | |
+++ libraries/helpers/ble_adafruit/adafruit_ble_adafruit/quaternion_service.munged.py | |
@@ -11,7 +11,7 @@ | |
* Author(s): Dan Halbert | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Adafruit.git" | |
from adafruit_ble.attributes import Attribute | |
--- libraries/helpers/ble_adafruit/adafruit_ble_adafruit/accelerometer_service.py | |
+++ libraries/helpers/ble_adafruit/adafruit_ble_adafruit/accelerometer_service.munged.py | |
@@ -11,7 +11,7 @@ | |
* Author(s): Dan Halbert | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Adafruit.git" | |
from adafruit_ble.attributes import Attribute | |
--- libraries/helpers/ble_adafruit/adafruit_ble_adafruit/gesture_service.py | |
+++ libraries/helpers/ble_adafruit/adafruit_ble_adafruit/gesture_service.munged.py | |
@@ -10,7 +10,7 @@ | |
* Author(s): Dan Halbert | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Adafruit.git" | |
from adafruit_ble.attributes import Attribute | |
--- libraries/helpers/ble_adafruit/adafruit_ble_adafruit/addressable_pixel_service.py | |
+++ libraries/helpers/ble_adafruit/adafruit_ble_adafruit/addressable_pixel_service.munged.py | |
@@ -11,7 +11,7 @@ | |
* Author(s): Dan Halbert | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Adafruit.git" | |
from collections import namedtuple | |
@@ -24,9 +24,9 @@ | |
from adafruit_ble.characteristics.int import Uint8Characteristic, Uint16Characteristic | |
from adafruit_ble_adafruit.adafruit_service import AdafruitService | |
-try: | |
- from typing import Optional | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
PixelValues = namedtuple( | |
--- libraries/helpers/ble_adafruit/adafruit_ble_adafruit/__init__.py | |
+++ libraries/helpers/ble_adafruit/adafruit_ble_adafruit/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/helpers/ble_adafruit/adafruit_ble_adafruit/gyroscope_service.py | |
+++ libraries/helpers/ble_adafruit/adafruit_ble_adafruit/gyroscope_service.munged.py | |
@@ -11,7 +11,7 @@ | |
* Author(s): Dan Halbert | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Adafruit.git" | |
from adafruit_ble.attributes import Attribute | |
--- libraries/helpers/ble_adafruit/adafruit_ble_adafruit/microphone_service.py | |
+++ libraries/helpers/ble_adafruit/adafruit_ble_adafruit/microphone_service.munged.py | |
@@ -11,7 +11,7 @@ | |
* Author(s): Dan Halbert | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Adafruit.git" | |
from adafruit_ble.attributes import Attribute | |
--- libraries/helpers/ble_adafruit/adafruit_ble_adafruit/color_sensor_service.py | |
+++ libraries/helpers/ble_adafruit/adafruit_ble_adafruit/color_sensor_service.munged.py | |
@@ -11,7 +11,7 @@ | |
* Author(s): Dan Halbert | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Adafruit.git" | |
from adafruit_ble.attributes import Attribute | |
--- libraries/helpers/ble/adafruit_ble/attributes/__init__.py | |
+++ libraries/helpers/ble/adafruit_ble/attributes/__init__.munged.py | |
@@ -12,7 +12,7 @@ | |
""" | |
import _bleio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE.git" | |
--- libraries/helpers/ble/adafruit_ble/characteristics/json.py | |
+++ libraries/helpers/ble/adafruit_ble/characteristics/json.munged.py | |
@@ -10,24 +10,24 @@ | |
""" | |
-from __future__ import annotations | |
+ | |
import json | |
from . import Attribute | |
from . import Characteristic | |
-try: | |
- from typing import Optional, Any, Type, TYPE_CHECKING | |
- if TYPE_CHECKING: | |
- from circuitpython_typing import ReadableBuffer | |
- from adafruit_ble.uuid import UUID | |
- from adafruit_ble.services import Service | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE.git" | |
--- libraries/helpers/ble/adafruit_ble/characteristics/float.py | |
+++ libraries/helpers/ble/adafruit_ble/characteristics/float.munged.py | |
@@ -10,23 +10,23 @@ | |
""" | |
-from __future__ import annotations | |
+ | |
from . import Attribute | |
from . import StructCharacteristic | |
-try: | |
- from typing import Optional, Type, Union, TYPE_CHECKING | |
- if TYPE_CHECKING: | |
- from circuitpython_typing import ReadableBuffer | |
- from adafruit_ble.uuid import UUID | |
- from adafruit_ble.services import Service | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE.git" | |
--- libraries/helpers/ble/adafruit_ble/characteristics/int.py | |
+++ libraries/helpers/ble/adafruit_ble/characteristics/int.munged.py | |
@@ -10,23 +10,23 @@ | |
""" | |
-from __future__ import annotations | |
+ | |
from . import Attribute | |
from . import StructCharacteristic | |
-try: | |
- from typing import Optional, Type, Union, TYPE_CHECKING | |
- if TYPE_CHECKING: | |
- from circuitpython_typing import ReadableBuffer | |
- from adafruit_ble.uuid import UUID | |
- from adafruit_ble.services import Service | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE.git" | |
--- libraries/helpers/ble/adafruit_ble/characteristics/string.py | |
+++ libraries/helpers/ble/adafruit_ble/characteristics/string.munged.py | |
@@ -10,23 +10,23 @@ | |
""" | |
-from __future__ import annotations | |
+ | |
from . import Attribute | |
from . import Characteristic | |
-try: | |
- from typing import Optional, Type, Union, TYPE_CHECKING | |
- if TYPE_CHECKING: | |
- from circuitpython_typing import ReadableBuffer | |
- from adafruit_ble.uuid import UUID | |
- from adafruit_ble.services import Service | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE.git" | |
--- libraries/helpers/ble/adafruit_ble/characteristics/__init__.py | |
+++ libraries/helpers/ble/adafruit_ble/characteristics/__init__.munged.py | |
@@ -8,25 +8,25 @@ | |
""" | |
-from __future__ import annotations | |
+ | |
import struct | |
import _bleio | |
from ..attributes import Attribute | |
-try: | |
- from typing import Optional, Type, Union, Tuple, Iterable, TYPE_CHECKING | |
- | |
- if TYPE_CHECKING: | |
- from circuitpython_typing import ReadableBuffer | |
- from adafruit_ble.uuid import UUID | |
- from adafruit_ble.services import Service | |
- | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE.git" | |
--- libraries/helpers/ble/adafruit_ble/characteristics/stream.py | |
+++ libraries/helpers/ble/adafruit_ble/characteristics/stream.munged.py | |
@@ -11,7 +11,7 @@ | |
""" | |
-from __future__ import annotations | |
+ | |
import _bleio | |
@@ -19,19 +19,19 @@ | |
from . import Characteristic | |
from . import ComplexCharacteristic | |
-try: | |
- from typing import Optional, Union, TYPE_CHECKING | |
- if TYPE_CHECKING: | |
- from circuitpython_typing import ReadableBuffer | |
- from adafruit_ble.characteristics import Characteristic | |
- from adafruit_ble.uuid import UUID | |
- from adafruit_ble.services import Service | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE.git" | |
--- libraries/helpers/ble/adafruit_ble/advertising/standard.py | |
+++ libraries/helpers/ble/adafruit_ble/advertising/standard.munged.py | |
@@ -24,22 +24,22 @@ | |
) | |
from ..uuid import StandardUUID, VendorUUID | |
-try: | |
- from typing import Optional, List, Tuple, Union, Type, Iterator, Iterable, Any | |
- from adafruit_ble.uuid import UUID | |
- from adafruit_ble.characteristics import Characteristic | |
- from adafruit_ble.services import Service | |
- from _bleio import ScanEntry | |
- | |
- UsesServicesAdvertisement = Union[ | |
- "ProvideServicesAdvertisement", "SolicitServicesAdvertisement" | |
- ] | |
- | |
- | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE.git" | |
--- libraries/helpers/ble/adafruit_ble/advertising/adafruit.py | |
+++ libraries/helpers/ble/adafruit_ble/advertising/adafruit.munged.py | |
@@ -20,7 +20,7 @@ | |
from . import Advertisement, LazyObjectField | |
from .standard import ManufacturerData, ManufacturerDataField | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE.git" | |
MANUFACTURING_DATA_ADT = const(0xFF) | |
--- libraries/helpers/ble/adafruit_ble/advertising/__init__.py | |
+++ libraries/helpers/ble/adafruit_ble/advertising/__init__.munged.py | |
@@ -6,22 +6,22 @@ | |
Advertising is the first phase of BLE where devices can broadcast | |
""" | |
-from __future__ import annotations | |
+ | |
import struct | |
-try: | |
- from typing import Dict, Any, Union, List, Optional, Type, TypeVar, TYPE_CHECKING | |
- from typing_extensions import Literal | |
- | |
- if TYPE_CHECKING: | |
- from _bleio import ScanEntry | |
- | |
- LazyObjectField_GivenClass = TypeVar( # pylint: disable=invalid-name | |
- "LazyObjectField_GivenClass" | |
- ) | |
- | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/ble/adafruit_ble/__init__.py | |
+++ libraries/helpers/ble/adafruit_ble/__init__.munged.py | |
@@ -10,7 +10,7 @@ | |
""" | |
-from __future__ import annotations | |
+ | |
# pylint: disable=wrong-import-position | |
@@ -27,19 +27,19 @@ | |
from .services import Service | |
from .advertising import Advertisement | |
-try: | |
- from typing import Iterator, NoReturn, Optional, Tuple, Type, TYPE_CHECKING, Union | |
- from typing_extensions import Literal | |
- | |
- if TYPE_CHECKING: | |
- from circuitpython_typing import ReadableBuffer | |
- from adafruit_ble.uuid import UUID | |
- from adafruit_ble.characteristics import Characteristic | |
- | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE.git" | |
--- libraries/helpers/ble/adafruit_ble/services/sphero.py | |
+++ libraries/helpers/ble/adafruit_ble/services/sphero.munged.py | |
@@ -13,7 +13,7 @@ | |
from . import Service | |
from ..uuid import VendorUUID | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE.git" | |
--- libraries/helpers/ble/adafruit_ble/services/standard/device_info.py | |
+++ libraries/helpers/ble/adafruit_ble/services/standard/device_info.munged.py | |
@@ -9,7 +9,7 @@ | |
""" | |
-from __future__ import annotations | |
+ | |
import binascii | |
import os | |
@@ -19,16 +19,16 @@ | |
from ...uuid import StandardUUID | |
from ...characteristics.string import FixedStringCharacteristic | |
-try: | |
- from typing import Optional, TYPE_CHECKING | |
- if TYPE_CHECKING: | |
- import _bleio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE.git" | |
--- libraries/helpers/ble/adafruit_ble/services/standard/hid.py | |
+++ libraries/helpers/ble/adafruit_ble/services/standard/hid.munged.py | |
@@ -12,7 +12,7 @@ | |
""" | |
-from __future__ import annotations | |
+ | |
import struct | |
@@ -26,12 +26,12 @@ | |
from .. import Service | |
-try: | |
- from typing import Dict, Optional | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE.git" | |
_HID_SERVICE_UUID_NUM = const(0x1812) | |
--- libraries/helpers/ble/adafruit_ble/services/standard/__init__.py | |
+++ libraries/helpers/ble/adafruit_ble/services/standard/__init__.munged.py | |
@@ -8,7 +8,7 @@ | |
""" | |
-from __future__ import annotations | |
+ | |
import time | |
@@ -19,7 +19,7 @@ | |
from ...characteristics import StructCharacteristic | |
from ...characteristics.int import Uint8Characteristic | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE.git" | |
--- libraries/helpers/ble/adafruit_ble/services/circuitpython.py | |
+++ libraries/helpers/ble/adafruit_ble/services/circuitpython.munged.py | |
@@ -16,7 +16,7 @@ | |
from ..characteristics.string import StringCharacteristic | |
from ..uuid import VendorUUID | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE.git" | |
--- libraries/helpers/ble/adafruit_ble/services/nordic.py | |
+++ libraries/helpers/ble/adafruit_ble/services/nordic.munged.py | |
@@ -11,23 +11,23 @@ | |
""" | |
-from __future__ import annotations | |
+ | |
from . import Service | |
from ..uuid import VendorUUID | |
from ..characteristics.stream import StreamOut, StreamIn | |
-try: | |
- from typing import Optional, TYPE_CHECKING | |
- if TYPE_CHECKING: | |
- from circuitpython_typing import WriteableBuffer, ReadableBuffer | |
- import _bleio | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE.git" | |
--- libraries/helpers/ble/adafruit_ble/services/__init__.py | |
+++ libraries/helpers/ble/adafruit_ble/services/__init__.munged.py | |
@@ -8,18 +8,18 @@ | |
""" | |
-from __future__ import annotations | |
+ | |
import _bleio | |
from ..characteristics import Characteristic, ComplexCharacteristic | |
-try: | |
- from typing import Optional | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE.git" | |
--- libraries/helpers/ble/adafruit_ble/services/microbit.py | |
+++ libraries/helpers/ble/adafruit_ble/services/microbit.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/helpers/ble/adafruit_ble/uuid/__init__.py | |
+++ libraries/helpers/ble/adafruit_ble/uuid/__init__.munged.py | |
@@ -12,7 +12,7 @@ | |
import _bleio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE.git" | |
--- libraries/helpers/ble_berrymed_pulse_oximeter/adafruit_ble_berrymed_pulse_oximeter/adafruit_ble_transparent_uart.py | |
+++ libraries/helpers/ble_berrymed_pulse_oximeter/adafruit_ble_berrymed_pulse_oximeter/adafruit_ble_transparent_uart.munged.py | |
@@ -15,13 +15,13 @@ | |
from adafruit_ble.uuid import VendorUUID | |
from adafruit_ble.characteristics.stream import StreamOut, StreamIn | |
-try: | |
- from typing import Optional | |
- from circuitpython_typing import ReadableBuffer, WriteableBuffer | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = ( | |
"https://github.com/adafruit/Adafruit_CircuitPython_BLE_Contec_Pulse_Oximeter.git" | |
) | |
--- libraries/helpers/ble_berrymed_pulse_oximeter/adafruit_ble_berrymed_pulse_oximeter/__init__.py | |
+++ libraries/helpers/ble_berrymed_pulse_oximeter/adafruit_ble_berrymed_pulse_oximeter/__init__.munged.py | |
@@ -43,7 +43,7 @@ | |
from .adafruit_ble_transparent_uart import TransparentUARTService | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = ( | |
"https://github.com/adafruit/Adafruit_CircuitPython_BLE_BerryMed_Pulse_Oximeter.git" | |
) | |
--- libraries/helpers/ble_eddystone/adafruit_ble_eddystone/uid.py | |
+++ libraries/helpers/ble_eddystone/adafruit_ble_eddystone/uid.munged.py | |
@@ -13,7 +13,7 @@ | |
from . import EddystoneAdvertisement, EddystoneFrameStruct, EddystoneFrameBytes | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Eddystone.git" | |
--- libraries/helpers/ble_eddystone/adafruit_ble_eddystone/url.py | |
+++ libraries/helpers/ble_eddystone/adafruit_ble_eddystone/url.munged.py | |
@@ -13,7 +13,7 @@ | |
from . import EddystoneAdvertisement, EddystoneFrameStruct, EddystoneFrameBytes | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Eddystone.git" | |
# These prefixes are replaced with a single one-byte scheme number. | |
--- libraries/helpers/ble_eddystone/adafruit_ble_eddystone/__init__.py | |
+++ libraries/helpers/ble_eddystone/adafruit_ble_eddystone/__init__.munged.py | |
@@ -18,7 +18,7 @@ | |
from adafruit_ble.advertising.standard import ServiceList, ServiceData | |
from adafruit_ble.uuid import StandardUUID | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BLE_Eddystone.git" | |
--- libraries/helpers/bluefruitconnect/adafruit_bluefruit_connect/color_packet.py | |
+++ libraries/helpers/bluefruitconnect/adafruit_bluefruit_connect/color_packet.munged.py | |
@@ -12,15 +12,15 @@ | |
""" | |
-from __future__ import annotations | |
+ | |
import struct | |
from .packet import Packet | |
-try: | |
- from typing import Optional, Tuple # adjust these as needed | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/bluefruitconnect/adafruit_bluefruit_connect/magnetometer_packet.py | |
+++ libraries/helpers/bluefruitconnect/adafruit_bluefruit_connect/magnetometer_packet.munged.py | |
@@ -12,7 +12,7 @@ | |
""" | |
-from __future__ import annotations | |
+ | |
from ._xyz_packet import _XYZPacket | |
--- libraries/helpers/bluefruitconnect/adafruit_bluefruit_connect/accelerometer_packet.py | |
+++ libraries/helpers/bluefruitconnect/adafruit_bluefruit_connect/accelerometer_packet.munged.py | |
@@ -12,7 +12,7 @@ | |
""" | |
-from __future__ import annotations | |
+ | |
from ._xyz_packet import _XYZPacket | |
--- libraries/helpers/bluefruitconnect/adafruit_bluefruit_connect/_xyz_packet.py | |
+++ libraries/helpers/bluefruitconnect/adafruit_bluefruit_connect/_xyz_packet.munged.py | |
@@ -12,7 +12,7 @@ | |
""" | |
-from __future__ import annotations | |
+ | |
import struct | |
--- libraries/helpers/bluefruitconnect/adafruit_bluefruit_connect/button_packet.py | |
+++ libraries/helpers/bluefruitconnect/adafruit_bluefruit_connect/button_packet.munged.py | |
@@ -13,15 +13,15 @@ | |
""" | |
-from __future__ import annotations | |
+ | |
import struct | |
from .packet import Packet | |
-try: | |
- from typing import Optional # adjust these as needed | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/bluefruitconnect/adafruit_bluefruit_connect/packet.py | |
+++ libraries/helpers/bluefruitconnect/adafruit_bluefruit_connect/packet.munged.py | |
@@ -12,15 +12,15 @@ | |
""" | |
-from __future__ import annotations | |
+ | |
import struct | |
-try: | |
- from typing import Optional, Any # adjust these as needed | |
- from io import RawIOBase | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/bluefruitconnect/adafruit_bluefruit_connect/quaternion_packet.py | |
+++ libraries/helpers/bluefruitconnect/adafruit_bluefruit_connect/quaternion_packet.munged.py | |
@@ -12,7 +12,7 @@ | |
""" | |
-from __future__ import annotations | |
+ | |
import struct | |
--- libraries/helpers/bluefruitconnect/adafruit_bluefruit_connect/__init__.py | |
+++ libraries/helpers/bluefruitconnect/adafruit_bluefruit_connect/__init__.munged.py | |
@@ -17,5 +17,5 @@ | |
# imports | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BluefruitConnect.git" | |
--- libraries/helpers/bluefruitconnect/adafruit_bluefruit_connect/location_packet.py | |
+++ libraries/helpers/bluefruitconnect/adafruit_bluefruit_connect/location_packet.munged.py | |
@@ -12,7 +12,7 @@ | |
""" | |
-from __future__ import annotations | |
+ | |
import struct | |
--- libraries/helpers/bluefruitconnect/adafruit_bluefruit_connect/raw_text_packet.py | |
+++ libraries/helpers/bluefruitconnect/adafruit_bluefruit_connect/raw_text_packet.munged.py | |
@@ -22,7 +22,7 @@ | |
""" | |
-from __future__ import annotations | |
+ | |
from .packet import Packet | |
--- libraries/helpers/bluefruitconnect/adafruit_bluefruit_connect/gyro_packet.py | |
+++ libraries/helpers/bluefruitconnect/adafruit_bluefruit_connect/gyro_packet.munged.py | |
@@ -12,7 +12,7 @@ | |
""" | |
-from __future__ import annotations | |
+ | |
from ._xyz_packet import _XYZPacket | |
--- libraries/helpers/boardtest/adafruit_boardtest/boardtest_sd.py | |
+++ libraries/helpers/boardtest/adafruit_boardtest/boardtest_sd.munged.py | |
@@ -37,12 +37,12 @@ | |
import adafruit_sdcard | |
import storage | |
-try: | |
- from typing import Sequence, Tuple, List | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BoardTest.git" | |
# Constants | |
--- libraries/helpers/boardtest/adafruit_boardtest/boardtest_uart.py | |
+++ libraries/helpers/boardtest/adafruit_boardtest/boardtest_uart.munged.py | |
@@ -29,12 +29,12 @@ | |
import board | |
import busio | |
-try: | |
- from typing import Sequence, Tuple, List | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BoardTest.git" | |
# Constants | |
--- libraries/helpers/boardtest/adafruit_boardtest/boardtest_i2c.py | |
+++ libraries/helpers/boardtest/adafruit_boardtest/boardtest_i2c.munged.py | |
@@ -33,12 +33,12 @@ | |
import board | |
import busio | |
-try: | |
- from typing import Tuple, Sequence, List | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BoardTest.git" | |
# Constants | |
--- libraries/helpers/boardtest/adafruit_boardtest/boardtest_gpio.py | |
+++ libraries/helpers/boardtest/adafruit_boardtest/boardtest_gpio.munged.py | |
@@ -29,12 +29,12 @@ | |
import digitalio | |
import supervisor | |
-try: | |
- from typing import Any, Sequence, Tuple, List | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BoardTest.git" | |
# Constants | |
--- libraries/helpers/boardtest/adafruit_boardtest/boardtest_voltage_monitor.py | |
+++ libraries/helpers/boardtest/adafruit_boardtest/boardtest_voltage_monitor.munged.py | |
@@ -31,12 +31,12 @@ | |
import board | |
import analogio | |
-try: | |
- from typing import Sequence, Tuple, List | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BoardTest.git" | |
# Constants | |
--- libraries/helpers/boardtest/adafruit_boardtest/boardtest_sd_cd.py | |
+++ libraries/helpers/boardtest/adafruit_boardtest/boardtest_sd_cd.munged.py | |
@@ -29,12 +29,12 @@ | |
import board | |
import digitalio | |
-try: | |
- from typing import Sequence, Tuple, List | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BoardTest.git" | |
# Constants | |
--- libraries/helpers/boardtest/adafruit_boardtest/boardtest_spi.py | |
+++ libraries/helpers/boardtest/adafruit_boardtest/boardtest_spi.munged.py | |
@@ -36,12 +36,12 @@ | |
import digitalio | |
import busio | |
-try: | |
- from typing import Tuple, Sequence, List | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BoardTest.git" | |
# Constants | |
--- libraries/helpers/boardtest/adafruit_boardtest/boardtest_led.py | |
+++ libraries/helpers/boardtest/adafruit_boardtest/boardtest_led.munged.py | |
@@ -28,12 +28,12 @@ | |
import digitalio | |
import supervisor | |
-try: | |
- from typing import Sequence, Tuple, List | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BoardTest.git" | |
# Constants | |
--- libraries/helpers/boardtest/adafruit_boardtest/__init__.py | |
+++ libraries/helpers/boardtest/adafruit_boardtest/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/helpers/bus_device/adafruit_bus_device/i2c_device.py | |
+++ libraries/helpers/bus_device/adafruit_bus_device/i2c_device.munged.py | |
@@ -9,18 +9,18 @@ | |
import time | |
-try: | |
- from typing import Optional, Type | |
- from types import TracebackType | |
- from circuitpython_typing import ReadableBuffer, WriteableBuffer | |
- # Used only for type annotations. | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BusDevice.git" | |
--- libraries/helpers/bus_device/adafruit_bus_device/spi_device.py | |
+++ libraries/helpers/bus_device/adafruit_bus_device/spi_device.munged.py | |
@@ -11,18 +11,18 @@ | |
import time | |
-try: | |
- from typing import Optional, Type | |
- from types import TracebackType | |
- # Used only for type annotations. | |
- from busio import SPI | |
- from digitalio import DigitalInOut | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BusDevice.git" | |
--- libraries/helpers/bus_device/adafruit_bus_device/__init__.py | |
+++ libraries/helpers/bus_device/adafruit_bus_device/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/helpers/cursorcontrol/adafruit_cursorcontrol/cursorcontrol.py | |
+++ libraries/helpers/cursorcontrol/adafruit_cursorcontrol/cursorcontrol.munged.py | |
@@ -22,13 +22,13 @@ | |
""" | |
import displayio | |
-try: | |
- from typing import Optional, Type | |
- from types import TracebackType | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CursorControl.git" | |
--- libraries/helpers/cursorcontrol/adafruit_cursorcontrol/cursorcontrol_cursormanager.py | |
+++ libraries/helpers/cursorcontrol/adafruit_cursorcontrol/cursorcontrol_cursormanager.munged.py | |
@@ -14,14 +14,14 @@ | |
from keypad import ShiftRegisterKeys, Event | |
from adafruit_debouncer import Debouncer | |
-try: | |
- from typing import Optional, Type | |
- from types import TracebackType | |
- from adafruit_cursorcontrol.cursorcontrol import Cursor | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CursorControl.git" | |
--- libraries/helpers/cursorcontrol/adafruit_cursorcontrol/__init__.py | |
+++ libraries/helpers/cursorcontrol/adafruit_cursorcontrol/__init__.munged.py | |
@@ -9,5 +9,5 @@ | |
* Author(s): Brent Rubell | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CursorControl.git" | |
--- libraries/helpers/display-button/adafruit_button/button.py | |
+++ libraries/helpers/display-button/adafruit_button/button.munged.py | |
@@ -26,7 +26,7 @@ | |
from adafruit_display_shapes.roundrect import RoundRect | |
from adafruit_button.button_base import ButtonBase, _check_color | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Display_Button.git" | |
--- libraries/helpers/displayio_flipclock/adafruit_displayio_flipclock/flip_digit.py | |
+++ libraries/helpers/displayio_flipclock/adafruit_displayio_flipclock/flip_digit.munged.py | |
@@ -24,10 +24,10 @@ | |
https://circuitpython.org/downloads | |
""" | |
-try: | |
- from typing import Optional # pylint: disable=unused-import | |
- from displayio import Bitmap | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import time | |
from adafruit_displayio_layout.widgets.widget import Widget | |
--- libraries/helpers/displayio_flipclock/adafruit_displayio_flipclock/flip_clock.py | |
+++ libraries/helpers/displayio_flipclock/adafruit_displayio_flipclock/flip_clock.munged.py | |
@@ -23,10 +23,10 @@ | |
* Adafruit CircuitPython firmware for the supported boards: | |
https://circuitpython.org/downloads | |
""" | |
-try: | |
- from typing import Optional | |
- from displayio import Bitmap | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
from adafruit_displayio_layout.widgets.widget import Widget | |
--- libraries/helpers/displayio_flipclock/adafruit_displayio_flipclock/__init__.py | |
+++ libraries/helpers/displayio_flipclock/adafruit_displayio_flipclock/__init__.munged.py | |
@@ -26,5 +26,5 @@ | |
# imports | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_FlipClock.git" | |
--- libraries/helpers/displayio_layout/adafruit_displayio_layout/widgets/cartesian.py | |
+++ libraries/helpers/displayio_layout/adafruit_displayio_layout/widgets/cartesian.munged.py | |
@@ -35,13 +35,13 @@ | |
except ImportError: | |
pass | |
-try: | |
- from typing import Any, List, Optional, Tuple | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout.git" | |
--- libraries/helpers/displayio_layout/adafruit_displayio_layout/widgets/icon_widget.py | |
+++ libraries/helpers/displayio_layout/adafruit_displayio_layout/widgets/icon_widget.munged.py | |
@@ -30,13 +30,13 @@ | |
from adafruit_displayio_layout.widgets.control import Control | |
from adafruit_displayio_layout.widgets.widget import Widget | |
-try: | |
- from typing import Any, Optional, Tuple | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout.git" | |
--- libraries/helpers/displayio_layout/adafruit_displayio_layout/widgets/control.py | |
+++ libraries/helpers/displayio_layout/adafruit_displayio_layout/widgets/control.munged.py | |
@@ -21,13 +21,13 @@ | |
""" | |
-try: | |
- from typing import Optional, Tuple | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout.git" | |
# pylint: disable=unsubscriptable-object, unnecessary-pass | |
--- libraries/helpers/displayio_layout/adafruit_displayio_layout/widgets/widget.py | |
+++ libraries/helpers/displayio_layout/adafruit_displayio_layout/widgets/widget.munged.py | |
@@ -24,13 +24,13 @@ | |
import displayio | |
-try: | |
- from typing import Optional, Tuple | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout.git" | |
# pylint: disable=too-many-arguments | |
--- libraries/helpers/displayio_layout/adafruit_displayio_layout/widgets/switch_round.py | |
+++ libraries/helpers/displayio_layout/adafruit_displayio_layout/widgets/switch_round.munged.py | |
@@ -44,13 +44,13 @@ | |
# modify the "easing" function that is imported to change the switch animation behaviour | |
from adafruit_displayio_layout.widgets.easing import back_easeinout as easing | |
-try: | |
- from typing import Any, Optional, Tuple, Union | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout.git" | |
--- libraries/helpers/displayio_layout/adafruit_displayio_layout/widgets/icon_animated.py | |
+++ libraries/helpers/displayio_layout/adafruit_displayio_layout/widgets/icon_animated.munged.py | |
@@ -31,14 +31,14 @@ | |
from adafruit_displayio_layout.widgets.easing import quadratic_easeout as easein | |
from adafruit_displayio_layout.widgets.easing import quadratic_easein as easeout | |
-try: | |
- from typing import Any, Optional, Tuple | |
- from displayio import Display # pylint: disable=ungrouped-imports | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout.git" | |
--- libraries/helpers/displayio_layout/adafruit_displayio_layout/widgets/easing.py | |
+++ libraries/helpers/displayio_layout/adafruit_displayio_layout/widgets/easing.munged.py | |
@@ -76,7 +76,7 @@ | |
import math | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout.git" | |
--- libraries/helpers/displayio_layout/adafruit_displayio_layout/widgets/flip_input.py | |
+++ libraries/helpers/displayio_layout/adafruit_displayio_layout/widgets/flip_input.munged.py | |
@@ -38,13 +38,13 @@ | |
from adafruit_displayio_layout.widgets.easing import back_easeinout as easein | |
from adafruit_displayio_layout.widgets.easing import back_easeinout as easeout | |
-try: | |
- from typing import Any, List, Optional, Tuple | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout.git" | |
--- libraries/helpers/displayio_layout/adafruit_displayio_layout/layouts/tab_layout.py | |
+++ libraries/helpers/displayio_layout/adafruit_displayio_layout/layouts/tab_layout.munged.py | |
@@ -22,12 +22,12 @@ | |
https://github.com/adafruit/circuitpython/releases | |
""" | |
-try: | |
- from typing import Optional, Union, Tuple | |
- from fontio import BuiltinFont | |
- from adafruit_bitmap_font.bdf import BDF | |
- from adafruit_bitmap_font.pcf import PCF | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import terminalio | |
@@ -37,7 +37,7 @@ | |
from adafruit_imageload.tilegrid_inflator import inflate_tilegrid | |
from adafruit_displayio_layout.layouts.page_layout import PageLayout | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout.git" | |
--- libraries/helpers/displayio_layout/adafruit_displayio_layout/layouts/page_layout.py | |
+++ libraries/helpers/displayio_layout/adafruit_displayio_layout/layouts/page_layout.munged.py | |
@@ -22,17 +22,17 @@ | |
https://github.com/adafruit/circuitpython/releases | |
""" | |
-try: | |
- # Used only for typing | |
- # pylint: disable=unused-import | |
- from typing import Tuple | |
- | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import displayio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout.git" | |
--- libraries/helpers/displayio_layout/adafruit_displayio_layout/layouts/__init__.py | |
+++ libraries/helpers/displayio_layout/adafruit_displayio_layout/layouts/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/helpers/displayio_layout/adafruit_displayio_layout/layouts/grid_layout.py | |
+++ libraries/helpers/displayio_layout/adafruit_displayio_layout/layouts/grid_layout.munged.py | |
@@ -22,17 +22,17 @@ | |
https://github.com/adafruit/circuitpython/releases | |
""" | |
-try: | |
- # Used only for typing | |
- from typing import Any, List, Optional, Tuple, Union | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import math | |
import displayio | |
from vectorio import Rectangle | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout.git" | |
--- libraries/helpers/displayio_layout/adafruit_displayio_layout/__init__.py | |
+++ libraries/helpers/displayio_layout/adafruit_displayio_layout/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/helpers/display_notification/adafruit_display_notification/apple.py | |
+++ libraries/helpers/display_notification/adafruit_display_notification/apple.munged.py | |
@@ -13,15 +13,15 @@ | |
from . import PlainNotification | |
-try: | |
- # unused typing-import to prevent the other typing-only imports from being loaded at runtime | |
- from typing import Any # pylint: disable=unused-import | |
- from adafruit_ble_apple_notification_center import Notification | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Display_Notification.git" | |
--- libraries/helpers/display_notification/adafruit_display_notification/__init__.py | |
+++ libraries/helpers/display_notification/adafruit_display_notification/__init__.munged.py | |
@@ -16,12 +16,12 @@ | |
import terminalio | |
-try: | |
- from typing import List | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Display_Notification.git" | |
TEXT_FONT = terminalio.FONT | |
--- libraries/helpers/display-shapes/adafruit_display_shapes/line.py | |
+++ libraries/helpers/display-shapes/adafruit_display_shapes/line.munged.py | |
@@ -21,14 +21,14 @@ | |
""" | |
-try: | |
- from typing import Optional | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
from adafruit_display_shapes.polygon import Polygon | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Display_Shapes.git" | |
--- libraries/helpers/display-shapes/adafruit_display_shapes/roundrect.py | |
+++ libraries/helpers/display-shapes/adafruit_display_shapes/roundrect.munged.py | |
@@ -11,14 +11,14 @@ | |
""" | |
-try: | |
- from typing import Optional | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
import displayio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Display_Shapes.git" | |
--- libraries/helpers/display-shapes/adafruit_display_shapes/triangle.py | |
+++ libraries/helpers/display-shapes/adafruit_display_shapes/triangle.munged.py | |
@@ -21,14 +21,14 @@ | |
""" | |
-try: | |
- from typing import Optional | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
from adafruit_display_shapes.polygon import Polygon | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Display_Shapes.git" | |
--- libraries/helpers/display-shapes/adafruit_display_shapes/multisparkline.py | |
+++ libraries/helpers/display-shapes/adafruit_display_shapes/multisparkline.munged.py | |
@@ -21,11 +21,11 @@ | |
""" | |
-try: | |
- from typing import Optional, List, TypeVar | |
- | |
- T = TypeVar("T") | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import displayio | |
from adafruit_display_shapes.polygon import Polygon | |
--- libraries/helpers/display-shapes/adafruit_display_shapes/rect.py | |
+++ libraries/helpers/display-shapes/adafruit_display_shapes/rect.munged.py | |
@@ -21,14 +21,14 @@ | |
""" | |
-try: | |
- from typing import Optional | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
import displayio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Display_Shapes.git" | |
--- libraries/helpers/display-shapes/adafruit_display_shapes/polygon.py | |
+++ libraries/helpers/display-shapes/adafruit_display_shapes/polygon.munged.py | |
@@ -21,14 +21,14 @@ | |
""" | |
-try: | |
- from typing import Optional, List, Tuple | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
import displayio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Display_Shapes.git" | |
--- libraries/helpers/display-shapes/adafruit_display_shapes/__init__.py | |
+++ libraries/helpers/display-shapes/adafruit_display_shapes/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/helpers/display-shapes/adafruit_display_shapes/sparkline.py | |
+++ libraries/helpers/display-shapes/adafruit_display_shapes/sparkline.munged.py | |
@@ -37,9 +37,9 @@ | |
""" | |
-try: | |
- from typing import Optional, List | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
from adafruit_display_shapes.multisparkline import MultiSparkline | |
--- libraries/helpers/display-shapes/adafruit_display_shapes/circle.py | |
+++ libraries/helpers/display-shapes/adafruit_display_shapes/circle.munged.py | |
@@ -21,14 +21,14 @@ | |
""" | |
-try: | |
- from typing import Optional | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
from adafruit_display_shapes.roundrect import RoundRect | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Display_Shapes.git" | |
--- libraries/helpers/display-shapes/adafruit_display_shapes/arc.py | |
+++ libraries/helpers/display-shapes/adafruit_display_shapes/arc.munged.py | |
@@ -21,9 +21,9 @@ | |
""" | |
-try: | |
- from typing import Optional | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
import math | |
@@ -37,7 +37,7 @@ | |
except ImportError: | |
HAVE_VECTORIO = False | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Display_Shapes.git" | |
--- libraries/helpers/display-text/adafruit_display_text/label.py | |
+++ libraries/helpers/display-text/adafruit_display_text/label.munged.py | |
@@ -22,17 +22,17 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Display_Text.git" | |
from displayio import Bitmap, Palette, TileGrid | |
from adafruit_display_text import LabelBase | |
-try: | |
- from typing import Optional, Tuple | |
- from fontio import FontProtocol | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/display-text/adafruit_display_text/bitmap_label.py | |
+++ libraries/helpers/display-text/adafruit_display_text/bitmap_label.munged.py | |
@@ -23,7 +23,7 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Display_Text.git" | |
import displayio | |
@@ -35,10 +35,10 @@ | |
# We have a slower fallback for bitmaptools | |
pass | |
-try: | |
- from typing import Optional, Tuple | |
- from fontio import FontProtocol | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/display-text/adafruit_display_text/scrolling_label.py | |
+++ libraries/helpers/display-text/adafruit_display_text/scrolling_label.munged.py | |
@@ -23,16 +23,16 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Display_Text.git" | |
import time | |
from adafruit_display_text import bitmap_label | |
-try: | |
- from typing import Optional | |
- from fontio import FontProtocol | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/display-text/adafruit_display_text/__init__.py | |
+++ libraries/helpers/display-text/adafruit_display_text/__init__.munged.py | |
@@ -7,15 +7,15 @@ | |
======================= | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Display_Text.git" | |
from displayio import Group, Palette | |
-try: | |
- from typing import Optional, List, Tuple | |
- from fontio import FontProtocol | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/esp32s2tft/adafruit_esp32s2tft/network.py | |
+++ libraries/helpers/esp32s2tft/adafruit_esp32s2tft/network.munged.py | |
@@ -31,15 +31,15 @@ | |
from adafruit_portalbase.network import NetworkBase | |
from adafruit_portalbase.wifi_esp32s2 import WiFi | |
-try: | |
- from typing import Optional, Union, Callable | |
- from neopixel import NeoPixel | |
- from adafruit_io.adafruit_io import IO_MQTT | |
- import adafruit_minimqtt.adafruit_minimqtt as MQTT | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ESP32S2TFT.git" | |
IO_MQTT_BROKER = "io.adafruit.com" | |
--- libraries/helpers/esp32s2tft/adafruit_esp32s2tft/__init__.py | |
+++ libraries/helpers/esp32s2tft/adafruit_esp32s2tft/__init__.munged.py | |
@@ -33,13 +33,13 @@ | |
from .graphics import Graphics | |
from .peripherals import Peripherals | |
-try: | |
- from typing import Optional, Dict, Union, Callable, Sequence, List | |
- from neopixel import NeoPixel | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ESP32S2TFT.git" | |
--- libraries/helpers/esp32s2tft/adafruit_esp32s2tft/peripherals.py | |
+++ libraries/helpers/esp32s2tft/adafruit_esp32s2tft/peripherals.munged.py | |
@@ -32,7 +32,7 @@ | |
import neopixel | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ESP32S2TFT.git" | |
--- libraries/helpers/esp32s2tft/adafruit_esp32s2tft/graphics.py | |
+++ libraries/helpers/esp32s2tft/adafruit_esp32s2tft/graphics.munged.py | |
@@ -30,7 +30,7 @@ | |
import board | |
from adafruit_portalbase.graphics import GraphicsBase | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ESP32S2TFT.git" | |
--- libraries/helpers/fancyled/adafruit_fancyled/fastled_helpers.py | |
+++ libraries/helpers/fancyled/adafruit_fancyled/fastled_helpers.munged.py | |
@@ -15,7 +15,7 @@ | |
# imports | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/Adafruit/Adafruit_CircuitPython_FancyLED.git" | |
from math import floor | |
--- libraries/helpers/fancyled/adafruit_fancyled/adafruit_fancyled.py | |
+++ libraries/helpers/fancyled/adafruit_fancyled/adafruit_fancyled.munged.py | |
@@ -13,18 +13,18 @@ | |
* Author(s): PaintYourDragon | |
""" | |
-from __future__ import annotations | |
- | |
-__version__ = "0.0.0+auto.0" | |
+ | |
+ | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/Adafruit/Adafruit_CircuitPython_FancyLED.git" | |
# imports | |
from math import floor | |
-try: | |
- from typing import Tuple, Union, Optional, List, Any | |
- from circuitpython_typing.led import FillBasedColorUnion | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/fancyled/adafruit_fancyled/__init__.py | |
+++ libraries/helpers/fancyled/adafruit_fancyled/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/helpers/featherwing/adafruit_featherwing/dotstar_featherwing.py | |
+++ libraries/helpers/featherwing/adafruit_featherwing/dotstar_featherwing.munged.py | |
@@ -11,17 +11,17 @@ | |
* Author(s): Melissa LeBlanc-Williams | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing.git" | |
import board | |
import adafruit_dotstar as dotstar | |
from adafruit_featherwing.pixelmatrix import PixelMatrix | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from microcontroller import Pin | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/featherwing/adafruit_featherwing/tft_featherwing.py | |
+++ libraries/helpers/featherwing/adafruit_featherwing/tft_featherwing.munged.py | |
@@ -36,11 +36,11 @@ | |
import sdcardio | |
import storage | |
-try: | |
- from typing import Optional | |
- from busio import SPI, I2C | |
- from microcontroller import Pin | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/featherwing/adafruit_featherwing/minitft_featherwing.py | |
+++ libraries/helpers/featherwing/adafruit_featherwing/minitft_featherwing.munged.py | |
@@ -12,7 +12,7 @@ | |
* Author(s): Melissa LeBlanc-Williams | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing.git" | |
from collections import namedtuple | |
@@ -23,11 +23,11 @@ | |
import displayio | |
from adafruit_st7735r import ST7735R | |
-try: | |
- from typing import Optional | |
- from busio import I2C, SPI | |
- from microcontroller import Pin | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/featherwing/adafruit_featherwing/tft_featherwing_35.py | |
+++ libraries/helpers/featherwing/adafruit_featherwing/tft_featherwing_35.munged.py | |
@@ -17,18 +17,18 @@ | |
* adafruit_stmpe610 | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing.git" | |
import board | |
from adafruit_hx8357 import HX8357 | |
from adafruit_featherwing.tft_featherwing import TFTFeatherWing | |
-try: | |
- from typing import Optional | |
- from busio import SPI, I2C | |
- from microcontroller import Pin | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/featherwing/adafruit_featherwing/tempmotion_featherwing.py | |
+++ libraries/helpers/featherwing/adafruit_featherwing/tempmotion_featherwing.munged.py | |
@@ -12,16 +12,16 @@ | |
* Author(s): Melissa LeBlanc-Williams | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing.git" | |
import board | |
import adafruit_adxl34x | |
import adafruit_adt7410 | |
-try: | |
- from typing import Optional | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/featherwing/adafruit_featherwing/neopixel_featherwing.py | |
+++ libraries/helpers/featherwing/adafruit_featherwing/neopixel_featherwing.munged.py | |
@@ -11,17 +11,17 @@ | |
* Author(s): Melissa LeBlanc-Williams | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing.git" | |
import board | |
import neopixel | |
from adafruit_featherwing.pixelmatrix import PixelMatrix | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from microcontroller import Pin | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/featherwing/adafruit_featherwing/alphanum_featherwing.py | |
+++ libraries/helpers/featherwing/adafruit_featherwing/alphanum_featherwing.munged.py | |
@@ -11,17 +11,17 @@ | |
* Author(s): Melissa LeBlanc-Williams | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing.git" | |
import board | |
from adafruit_ht16k33 import segments | |
from adafruit_featherwing.led_segments import Segments | |
-try: | |
- from typing import Optional | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/featherwing/adafruit_featherwing/pixelmatrix.py | |
+++ libraries/helpers/featherwing/adafruit_featherwing/pixelmatrix.munged.py | |
@@ -12,21 +12,21 @@ | |
* Author(s): Melissa LeBlanc-Williams | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing.git" | |
# pylint: disable-msg=unsubscriptable-object, unsupported-assignment-operation | |
from adafruit_featherwing.auto_writeable import AutoWriteable | |
-try: | |
- from typing import Union, Tuple, List, Sequence | |
- IndexUnion = Union[Tuple[int, int], slice, int] | |
- RGBSequence = Union[List[int], Tuple[int, int, int]] | |
- RGBBSequence = Union[List[int], Tuple[int, int, int, int]] | |
- ValueUnion = Union[RGBBSequence, RGBBSequence, int] | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/featherwing/adafruit_featherwing/ina219_featherwing.py | |
+++ libraries/helpers/featherwing/adafruit_featherwing/ina219_featherwing.munged.py | |
@@ -14,16 +14,16 @@ | |
* Author(s): Kattni Rembor | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing.git" | |
import board | |
import adafruit_ina219 | |
-try: | |
- from typing import Optional | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/featherwing/adafruit_featherwing/joy_featherwing.py | |
+++ libraries/helpers/featherwing/adafruit_featherwing/joy_featherwing.munged.py | |
@@ -11,17 +11,17 @@ | |
* Author(s): Kattni Rembor | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing.git" | |
import board | |
from micropython import const | |
import adafruit_seesaw.seesaw | |
-try: | |
- from typing import Optional, Tuple | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/featherwing/adafruit_featherwing/gps_featherwing.py | |
+++ libraries/helpers/featherwing/adafruit_featherwing/gps_featherwing.munged.py | |
@@ -11,16 +11,16 @@ | |
* Author(s): Melissa LeBlanc-Williams | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing.git" | |
import board | |
import busio | |
import adafruit_gps | |
-try: | |
- from typing import Optional | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/featherwing/adafruit_featherwing/__init__.py | |
+++ libraries/helpers/featherwing/adafruit_featherwing/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/helpers/featherwing/adafruit_featherwing/sevensegment_featherwing.py | |
+++ libraries/helpers/featherwing/adafruit_featherwing/sevensegment_featherwing.munged.py | |
@@ -11,17 +11,17 @@ | |
* Author(s): Melissa LeBlanc-Williams | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing.git" | |
import board | |
from adafruit_ht16k33 import segments | |
from adafruit_featherwing.led_segments import Segments | |
-try: | |
- from typing import Optional | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/featherwing/adafruit_featherwing/led_segments.py | |
+++ libraries/helpers/featherwing/adafruit_featherwing/led_segments.munged.py | |
@@ -11,14 +11,14 @@ | |
* Author(s): Melissa LeBlanc-Williams | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing.git" | |
# pylint: disable-msg=unsubscriptable-object, unsupported-assignment-operation | |
-try: | |
- from typing import Union | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/featherwing/adafruit_featherwing/tft_featherwing_24.py | |
+++ libraries/helpers/featherwing/adafruit_featherwing/tft_featherwing_24.munged.py | |
@@ -17,18 +17,18 @@ | |
* adafruit_stmpe610 | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing.git" | |
import board | |
import adafruit_ili9341 | |
from adafruit_featherwing.tft_featherwing import TFTFeatherWing | |
-try: | |
- from typing import Optional | |
- from busio import SPI, I2C | |
- from microcontroller import Pin | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/featherwing/adafruit_featherwing/matrix_featherwing.py | |
+++ libraries/helpers/featherwing/adafruit_featherwing/matrix_featherwing.munged.py | |
@@ -12,7 +12,7 @@ | |
* Author(s): Melissa LeBlanc-Williams | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing.git" | |
import board | |
@@ -20,10 +20,10 @@ | |
from adafruit_featherwing.auto_writeable import AutoWriteable | |
-try: | |
- from typing import Optional, Tuple, Union | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/featherwing/adafruit_featherwing/rtc_featherwing.py | |
+++ libraries/helpers/featherwing/adafruit_featherwing/rtc_featherwing.munged.py | |
@@ -12,7 +12,7 @@ | |
* Author(s): Melissa LeBlanc-Williams | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing.git" | |
import time | |
@@ -20,10 +20,10 @@ | |
import board | |
import adafruit_ds3231 | |
-try: | |
- from typing import Optional, Dict | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/featherwing/adafruit_featherwing/keyboard_featherwing.py | |
+++ libraries/helpers/featherwing/adafruit_featherwing/keyboard_featherwing.munged.py | |
@@ -16,7 +16,7 @@ | |
* adafruit_stmpe610 | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing.git" | |
import board | |
@@ -29,11 +29,11 @@ | |
# pylint: disable-msg=too-many-arguments | |
from adafruit_featherwing.tft_featherwing import TFTFeatherWing | |
-try: | |
- from typing import Optional | |
- from busio import SPI, I2C | |
- from microcontroller import Pin | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/funhouse/adafruit_funhouse/network.py | |
+++ libraries/helpers/funhouse/adafruit_funhouse/network.munged.py | |
@@ -33,13 +33,13 @@ | |
from adafruit_portalbase.network import NetworkBase | |
from adafruit_portalbase.wifi_esp32s2 import WiFi | |
-try: | |
- from typing import Optional, Union, Callable | |
- from adafruit_dotstar import DotStar | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FunHouse.git" | |
IO_MQTT_BROKER = "io.adafruit.com" | |
--- libraries/helpers/funhouse/adafruit_funhouse/__init__.py | |
+++ libraries/helpers/funhouse/adafruit_funhouse/__init__.munged.py | |
@@ -34,13 +34,13 @@ | |
from adafruit_funhouse.graphics import Graphics | |
from adafruit_funhouse.peripherals import Peripherals | |
-try: | |
- from typing import Optional, Dict, Union, Callable, Sequence, List | |
- from adafruit_dotstar import DotStar | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FunHouse.git" | |
--- libraries/helpers/funhouse/adafruit_funhouse/peripherals.py | |
+++ libraries/helpers/funhouse/adafruit_funhouse/peripherals.munged.py | |
@@ -36,12 +36,12 @@ | |
import adafruit_ahtx0 | |
import adafruit_dotstar | |
-try: | |
- from typing import Optional | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FunHouse.git" | |
--- libraries/helpers/funhouse/adafruit_funhouse/graphics.py | |
+++ libraries/helpers/funhouse/adafruit_funhouse/graphics.munged.py | |
@@ -30,7 +30,7 @@ | |
import board | |
from adafruit_portalbase.graphics import GraphicsBase | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FunHouse.git" | |
--- libraries/helpers/gfx/adafruit_gfx/gfx.py | |
+++ libraries/helpers/gfx/adafruit_gfx/gfx.munged.py | |
@@ -22,7 +22,7 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_GFX.git" | |
--- libraries/helpers/gizmo/adafruit_gizmo/tft_gizmo.py | |
+++ libraries/helpers/gizmo/adafruit_gizmo/tft_gizmo.munged.py | |
@@ -12,18 +12,18 @@ | |
* Author(s): Carter Nelson, Melissa LeBlanc-Williams | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Gizmo.git" | |
import board | |
import displayio | |
from adafruit_st7789 import ST7789 | |
-try: | |
- from typing import Optional | |
- from busio import SPI | |
- from microcontroller import Pin | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/gizmo/adafruit_gizmo/__init__.py | |
+++ libraries/helpers/gizmo/adafruit_gizmo/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/helpers/gizmo/adafruit_gizmo/eink_gizmo.py | |
+++ libraries/helpers/gizmo/adafruit_gizmo/eink_gizmo.munged.py | |
@@ -12,7 +12,7 @@ | |
* Author(s): Melissa LeBlanc-Williams | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Gizmo.git" | |
from time import sleep | |
@@ -21,11 +21,11 @@ | |
from adafruit_il0373 import IL0373 | |
from adafruit_ssd1681 import SSD1681 | |
-try: | |
- from typing import Optional | |
- from busio import SPI | |
- from microcontroller import Pin | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/hashlib/adafruit_hashlib/_md5.py | |
+++ libraries/helpers/hashlib/adafruit_hashlib/_md5.munged.py | |
@@ -43,9 +43,9 @@ | |
""" | |
# pylint: disable=invalid-name,missing-function-docstring,too-many-arguments | |
-try: | |
- from typing import Optional, Tuple | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
# suppress because typing does not exist on circuitpython | |
pass | |
--- libraries/helpers/hashlib/adafruit_hashlib/_sha256.py | |
+++ libraries/helpers/hashlib/adafruit_hashlib/_sha256.munged.py | |
@@ -11,9 +11,9 @@ | |
""" | |
# pylint: disable=invalid-name, unnecessary-lambda, unnecessary-lambda-assignment, missing-docstring | |
-try: | |
- from typing import Dict, List, Optional, Tuple, Union | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
# suppress because typing does not exist on circuitpython | |
pass | |
--- libraries/helpers/hashlib/adafruit_hashlib/_sha1.py | |
+++ libraries/helpers/hashlib/adafruit_hashlib/_sha1.munged.py | |
@@ -19,9 +19,9 @@ | |
from io import BytesIO | |
from micropython import const | |
-try: | |
- from typing import Optional, Tuple, Union | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
# suppress because typing does not exist on circuitpython | |
pass | |
--- libraries/helpers/hashlib/adafruit_hashlib/__init__.py | |
+++ libraries/helpers/hashlib/adafruit_hashlib/__init__.munged.py | |
@@ -23,9 +23,9 @@ | |
https://github.com/adafruit/circuitpython/releases | |
""" | |
-try: | |
- from typing import List, Optional, Union | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
@@ -38,7 +38,7 @@ | |
from adafruit_hashlib._sha1 import sha1 | |
from adafruit_hashlib._md5 import md5 | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_hashlib.git" | |
# FIPS secure hash algorithms supported by this library | |
--- libraries/helpers/hashlib/adafruit_hashlib/_sha512.py | |
+++ libraries/helpers/hashlib/adafruit_hashlib/_sha512.munged.py | |
@@ -12,9 +12,9 @@ | |
""" | |
# pylint: disable=invalid-name, unnecessary-lambda, unnecessary-lambda-assignment, missing-docstring, line-too-long | |
-try: | |
- from typing import Dict, List, Optional, Tuple, Union | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
# suppress because typing does not exist on circuitpython | |
pass | |
--- libraries/helpers/hid/adafruit_hid/keyboard_layout_base.py | |
+++ libraries/helpers/hid/adafruit_hid/keyboard_layout_base.munged.py | |
@@ -10,15 +10,15 @@ | |
""" | |
-try: | |
- from typing import Tuple | |
- from .keyboard import Keyboard | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
from time import sleep | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_HID.git" | |
--- libraries/helpers/hid/adafruit_hid/consumer_control.py | |
+++ libraries/helpers/hid/adafruit_hid/consumer_control.munged.py | |
@@ -20,10 +20,10 @@ | |
import struct | |
from . import find_device | |
-try: | |
- from typing import Sequence | |
- import usb_hid | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/hid/adafruit_hid/keyboard.py | |
+++ libraries/helpers/hid/adafruit_hid/keyboard.munged.py | |
@@ -16,9 +16,9 @@ | |
from . import find_device | |
-try: | |
- from typing import Sequence | |
-except: # pylint: disable=bare-except | |
+ | |
+ | |
+if 1: | |
pass | |
_MAX_KEYPRESSES = const(6) | |
--- libraries/helpers/hid/adafruit_hid/mouse.py | |
+++ libraries/helpers/hid/adafruit_hid/mouse.munged.py | |
@@ -10,10 +10,10 @@ | |
""" | |
from . import find_device | |
-try: | |
- from typing import Sequence | |
- import usb_hid | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/hid/adafruit_hid/__init__.py | |
+++ libraries/helpers/hid/adafruit_hid/__init__.munged.py | |
@@ -18,7 +18,7 @@ | |
""" | |
# imports | |
-from __future__ import annotations | |
+ | |
import time | |
try: | |
@@ -26,9 +26,9 @@ | |
except ImportError: | |
supervisor = None | |
-try: | |
- from typing import Sequence | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
# usb_hid may not exist on some boards that still provide BLE or other HID devices. | |
@@ -37,7 +37,7 @@ | |
except ImportError: | |
Device = None | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_HID.git" | |
--- libraries/helpers/httpserver/adafruit_httpserver/mime_types.py | |
+++ libraries/helpers/httpserver/adafruit_httpserver/mime_types.munged.py | |
@@ -7,9 +7,9 @@ | |
* Author(s): Michał Pokusa | |
""" | |
-try: | |
- from typing import List, Dict | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/httpserver/adafruit_httpserver/authentication.py | |
+++ libraries/helpers/httpserver/adafruit_httpserver/authentication.munged.py | |
@@ -7,9 +7,9 @@ | |
* Author(s): Michał Pokusa | |
""" | |
-try: | |
- from typing import Union, List | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
from binascii import b2a_base64 | |
--- libraries/helpers/httpserver/adafruit_httpserver/server.py | |
+++ libraries/helpers/httpserver/adafruit_httpserver/server.munged.py | |
@@ -7,9 +7,9 @@ | |
* Author(s): Dan Halbert, Michał Pokusa | |
""" | |
-try: | |
- from typing import Callable, Union, List, Tuple, Dict, Iterable | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
from errno import EAGAIN, ECONNRESET, ETIMEDOUT | |
--- libraries/helpers/httpserver/adafruit_httpserver/headers.py | |
+++ libraries/helpers/httpserver/adafruit_httpserver/headers.munged.py | |
@@ -7,9 +7,9 @@ | |
* Author(s): Michał Pokusa | |
""" | |
-try: | |
- from typing import Dict, List, Union | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
from .interfaces import _IFieldStorage | |
--- libraries/helpers/httpserver/adafruit_httpserver/route.py | |
+++ libraries/helpers/httpserver/adafruit_httpserver/route.munged.py | |
@@ -7,12 +7,12 @@ | |
* Author(s): Dan Halbert, Michał Pokusa | |
""" | |
-try: | |
- from typing import Callable, Iterable, Union, Tuple, Literal, Dict, TYPE_CHECKING | |
- if TYPE_CHECKING: | |
- from .response import Response | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import re | |
--- libraries/helpers/httpserver/adafruit_httpserver/request.py | |
+++ libraries/helpers/httpserver/adafruit_httpserver/request.munged.py | |
@@ -7,12 +7,12 @@ | |
* Author(s): Dan Halbert, Michał Pokusa | |
""" | |
-try: | |
- from typing import List, Dict, Tuple, Union, Any, TYPE_CHECKING | |
- | |
- if TYPE_CHECKING: | |
- from .server import Server | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
import json | |
--- libraries/helpers/httpserver/adafruit_httpserver/__init__.py | |
+++ libraries/helpers/httpserver/adafruit_httpserver/__init__.munged.py | |
@@ -19,7 +19,7 @@ | |
https://github.com/adafruit/circuitpython/releases | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_HTTPServer.git" | |
--- libraries/helpers/httpserver/adafruit_httpserver/interfaces.py | |
+++ libraries/helpers/httpserver/adafruit_httpserver/interfaces.munged.py | |
@@ -7,9 +7,9 @@ | |
* Author(s): Michał Pokusa | |
""" | |
-try: | |
- from typing import List, Tuple, Dict, Union, Any | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/httpserver/adafruit_httpserver/response.py | |
+++ libraries/helpers/httpserver/adafruit_httpserver/response.munged.py | |
@@ -7,9 +7,9 @@ | |
* Author(s): Dan Halbert, Michał Pokusa | |
""" | |
-try: | |
- from typing import Optional, Dict, Union, Tuple, Generator, Any | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
import os | |
--- libraries/helpers/imageload/adafruit_imageload/bmp/truecolor.py | |
+++ libraries/helpers/imageload/adafruit_imageload/bmp/truecolor.munged.py | |
@@ -15,16 +15,16 @@ | |
import sys | |
-try: | |
- from typing import Union, Optional, Tuple | |
- from io import BufferedReader | |
- from ..displayio_types import BitmapConstructor | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
from displayio import ColorConverter, Colorspace, Bitmap | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad.git" | |
bitfield_colorspaces = ( | |
--- libraries/helpers/imageload/adafruit_imageload/bmp/indexed.py | |
+++ libraries/helpers/imageload/adafruit_imageload/bmp/indexed.munged.py | |
@@ -16,12 +16,12 @@ | |
import sys | |
-try: | |
- from typing import Tuple, Optional | |
- from io import BufferedReader | |
- from displayio import Palette, Bitmap | |
- from ..displayio_types import PaletteConstructor, BitmapConstructor | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
try: | |
@@ -30,7 +30,7 @@ | |
_bitmap_readinto = None # pylint: disable=invalid-name # type: Callable | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad.git" | |
--- libraries/helpers/imageload/adafruit_imageload/bmp/__init__.py | |
+++ libraries/helpers/imageload/adafruit_imageload/bmp/__init__.munged.py | |
@@ -14,15 +14,15 @@ | |
""" | |
# pylint: disable=import-outside-toplevel | |
-try: | |
- from typing import Tuple, Optional, Set, List | |
- from io import BufferedReader | |
- from displayio import Palette, Bitmap | |
- from ..displayio_types import PaletteConstructor, BitmapConstructor | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad.git" | |
--- libraries/helpers/imageload/adafruit_imageload/displayio_types.py | |
+++ libraries/helpers/imageload/adafruit_imageload/displayio_types.munged.py | |
@@ -13,14 +13,14 @@ | |
* Author(s): Matt Land | |
""" | |
-try: | |
- from typing import Callable | |
- from displayio import Palette, Bitmap | |
- PaletteConstructor = Callable[[int], Palette] | |
- BitmapConstructor = Callable[[int, int, int], Bitmap] | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad.git" | |
--- libraries/helpers/imageload/adafruit_imageload/pnm/ppm_ascii.py | |
+++ libraries/helpers/imageload/adafruit_imageload/pnm/ppm_ascii.munged.py | |
@@ -16,21 +16,21 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad.git" | |
-try: | |
- from typing import ( | |
- Tuple, | |
- Iterator, | |
- Optional, | |
- List, | |
- Set, | |
- ) | |
- from io import BufferedReader | |
- from displayio import Palette, Bitmap | |
- from ..displayio_types import PaletteConstructor, BitmapConstructor | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/imageload/adafruit_imageload/pnm/pbm_binary.py | |
+++ libraries/helpers/imageload/adafruit_imageload/pnm/pbm_binary.munged.py | |
@@ -15,14 +15,14 @@ | |
* Author(s): Matt Land, Brooke Storm, Sam McGahan | |
""" | |
-try: | |
- from typing import Tuple, Optional, Iterator | |
- from io import BufferedReader | |
- from displayio import Palette, Bitmap | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad.git" | |
--- libraries/helpers/imageload/adafruit_imageload/pnm/ppm_binary.py | |
+++ libraries/helpers/imageload/adafruit_imageload/pnm/ppm_binary.munged.py | |
@@ -15,15 +15,15 @@ | |
* Author(s): Matt Land, Brooke Storm, Sam McGahan | |
""" | |
-try: | |
- from typing import Tuple, Optional, Set | |
- from io import BufferedReader | |
- from displayio import Palette, Bitmap | |
- from ..displayio_types import PaletteConstructor, BitmapConstructor | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad.git" | |
--- libraries/helpers/imageload/adafruit_imageload/pnm/pbm_ascii.py | |
+++ libraries/helpers/imageload/adafruit_imageload/pnm/pbm_ascii.munged.py | |
@@ -16,14 +16,14 @@ | |
""" | |
-try: | |
- from typing import Tuple, Optional | |
- from io import BufferedReader | |
- from displayio import Palette, Bitmap | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad.git" | |
--- libraries/helpers/imageload/adafruit_imageload/pnm/pgm/binary.py | |
+++ libraries/helpers/imageload/adafruit_imageload/pnm/pgm/binary.munged.py | |
@@ -14,12 +14,12 @@ | |
* Author(s): Matt Land, Brooke Storm, Sam McGahan | |
""" | |
-try: | |
- from typing import Tuple, Optional, Set | |
- from io import BufferedReader | |
- from displayio import Palette, Bitmap | |
- from ...displayio_types import PaletteConstructor, BitmapConstructor | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/imageload/adafruit_imageload/pnm/pgm/ascii.py | |
+++ libraries/helpers/imageload/adafruit_imageload/pnm/pgm/ascii.munged.py | |
@@ -14,12 +14,12 @@ | |
* Author(s): Matt Land, Brooke Storm, Sam McGahan | |
""" | |
-try: | |
- from typing import Tuple, Set, Optional | |
- from io import BufferedReader | |
- from displayio import Palette, Bitmap | |
- from ...displayio_types import PaletteConstructor, BitmapConstructor | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/imageload/adafruit_imageload/pnm/pgm/__init__.py | |
+++ libraries/helpers/imageload/adafruit_imageload/pnm/pgm/__init__.munged.py | |
@@ -15,12 +15,12 @@ | |
""" | |
# pylint: disable=import-outside-toplevel | |
-try: | |
- from typing import Tuple, Optional, Set, List | |
- from io import BufferedReader | |
- from displayio import Palette, Bitmap | |
- from ...displayio_types import PaletteConstructor, BitmapConstructor | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/imageload/adafruit_imageload/pnm/__init__.py | |
+++ libraries/helpers/imageload/adafruit_imageload/pnm/__init__.munged.py | |
@@ -16,23 +16,23 @@ | |
""" | |
# pylint: disable=import-outside-toplevel | |
-try: | |
- from typing import ( | |
- Tuple, | |
- Iterator, | |
- Optional, | |
- List, | |
- Iterable, | |
- Union, | |
- Callable, | |
- ) | |
- from io import BufferedReader | |
- from displayio import Palette, Bitmap | |
- from ..displayio_types import PaletteConstructor, BitmapConstructor | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad.git" | |
--- libraries/helpers/imageload/adafruit_imageload/tilegrid_inflator.py | |
+++ libraries/helpers/imageload/adafruit_imageload/tilegrid_inflator.munged.py | |
@@ -16,13 +16,13 @@ | |
import displayio | |
import adafruit_imageload | |
-try: | |
- from typing import Tuple, Optional, List, Union | |
- from displayio import Palette, Bitmap, OnDiskBitmap, TileGrid | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad.git" | |
--- libraries/helpers/imageload/adafruit_imageload/__init__.py | |
+++ libraries/helpers/imageload/adafruit_imageload/__init__.munged.py | |
@@ -14,22 +14,22 @@ | |
""" | |
# pylint: disable=import-outside-toplevel | |
-try: | |
- from typing import ( | |
- Tuple, | |
- Iterator, | |
- Optional, | |
- List, | |
- Iterable, | |
- Union, | |
- ) | |
- from io import BufferedReader | |
- from displayio import Palette, Bitmap | |
- from .displayio_types import PaletteConstructor, BitmapConstructor | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad.git" | |
--- libraries/helpers/imageload/adafruit_imageload/png.py | |
+++ libraries/helpers/imageload/adafruit_imageload/png.munged.py | |
@@ -25,7 +25,7 @@ | |
import struct | |
import zlib | |
-__version__ = "0.0.0-auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad.git" | |
--- libraries/helpers/imageload/adafruit_imageload/gif.py | |
+++ libraries/helpers/imageload/adafruit_imageload/gif.munged.py | |
@@ -16,15 +16,15 @@ | |
import struct | |
-try: | |
- from typing import Tuple, Iterator, Optional, List | |
- from io import BufferedReader | |
- from displayio import Palette, Bitmap | |
- from .displayio_types import PaletteConstructor, BitmapConstructor | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad.git" | |
--- libraries/helpers/itertools/adafruit_itertools/adafruit_itertools_extras.py | |
+++ libraries/helpers/itertools/adafruit_itertools/adafruit_itertools_extras.munged.py | |
@@ -41,7 +41,7 @@ | |
import adafruit_itertools as it | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Itertools.git" | |
--- libraries/helpers/itertools/adafruit_itertools/__init__.py | |
+++ libraries/helpers/itertools/adafruit_itertools/__init__.munged.py | |
@@ -25,31 +25,31 @@ | |
# pylint:disable=invalid-name,redefined-builtin,attribute-defined-outside-init | |
# pylint:disable=stop-iteration-return,anomalous-backslash-in-string | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Itertools.git" | |
-try: | |
- from typing import ( | |
- Any, | |
- Callable, | |
- Iterable, | |
- Iterator, | |
- List, | |
- Optional, | |
- Sequence, | |
- Tuple, | |
- TypeVar, | |
- Union, | |
- ) | |
- from typing_extensions import TypeAlias | |
- | |
- _T = TypeVar("_T") | |
- _Fill = TypeVar("_Fill") | |
- _OptionalFill: TypeAlias = Optional[_Fill] | |
- _N: TypeAlias = Union[int, float, complex] | |
- _Predicate: TypeAlias = Callable[[_T], object] | |
- | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/led-animation/adafruit_led_animation/animation/sparkle.py | |
+++ libraries/helpers/led-animation/adafruit_led_animation/animation/sparkle.munged.py | |
@@ -28,7 +28,7 @@ | |
import random | |
from adafruit_led_animation.animation import Animation | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LED_Animation.git" | |
--- libraries/helpers/led-animation/adafruit_led_animation/animation/grid_rain.py | |
+++ libraries/helpers/led-animation/adafruit_led_animation/animation/grid_rain.munged.py | |
@@ -28,7 +28,7 @@ | |
import random | |
from adafruit_led_animation.animation import Animation | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LED_Animation.git" | |
from adafruit_led_animation.color import BLACK, colorwheel, calculate_intensity, GREEN | |
--- libraries/helpers/led-animation/adafruit_led_animation/animation/rainbow.py | |
+++ libraries/helpers/led-animation/adafruit_led_animation/animation/rainbow.munged.py | |
@@ -29,7 +29,7 @@ | |
from adafruit_led_animation.color import BLACK, colorwheel | |
from adafruit_led_animation import MS_PER_SECOND, monotonic_ms | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LED_Animation.git" | |
--- libraries/helpers/led-animation/adafruit_led_animation/animation/__init__.py | |
+++ libraries/helpers/led-animation/adafruit_led_animation/animation/__init__.munged.py | |
@@ -25,7 +25,7 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LED_Animation.git" | |
from adafruit_led_animation import MS_PER_SECOND, monotonic_ms | |
--- libraries/helpers/led-animation/adafruit_led_animation/group.py | |
+++ libraries/helpers/led-animation/adafruit_led_animation/group.munged.py | |
@@ -26,7 +26,7 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LED_Animation.git" | |
from adafruit_led_animation.animation import Animation | |
--- libraries/helpers/led-animation/adafruit_led_animation/sequence.py | |
+++ libraries/helpers/led-animation/adafruit_led_animation/sequence.munged.py | |
@@ -30,7 +30,7 @@ | |
from adafruit_led_animation.color import BLACK | |
from . import MS_PER_SECOND, monotonic_ms | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LED_Animation.git" | |
--- libraries/helpers/magtag/adafruit_magtag/magtag.py | |
+++ libraries/helpers/magtag/adafruit_magtag/magtag.munged.py | |
@@ -35,14 +35,14 @@ | |
from adafruit_magtag.graphics import Graphics | |
from adafruit_magtag.peripherals import Peripherals | |
-try: | |
- from typing import Optional, Union, Sequence, Dict, Callable, Any | |
- import microcontroller | |
- import neopixel | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MagTag.git" | |
--- libraries/helpers/magtag/adafruit_magtag/network.py | |
+++ libraries/helpers/magtag/adafruit_magtag/network.munged.py | |
@@ -31,13 +31,13 @@ | |
from adafruit_portalbase.network import NetworkBase | |
from adafruit_portalbase.wifi_esp32s2 import WiFi | |
-try: | |
- from typing import Optional, Union | |
- import microcontroller | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MagTag.git" | |
--- libraries/helpers/magtag/adafruit_magtag/__init__.py | |
+++ libraries/helpers/magtag/adafruit_magtag/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/helpers/magtag/adafruit_magtag/peripherals.py | |
+++ libraries/helpers/magtag/adafruit_magtag/peripherals.munged.py | |
@@ -33,7 +33,7 @@ | |
import neopixel | |
import simpleio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MagTag.git" | |
--- libraries/helpers/magtag/adafruit_magtag/graphics.py | |
+++ libraries/helpers/magtag/adafruit_magtag/graphics.munged.py | |
@@ -32,12 +32,12 @@ | |
import board | |
from adafruit_portalbase.graphics import GraphicsBase | |
-try: | |
- from typing import Union, Optional, Tuple | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MagTag.git" | |
--- libraries/helpers/matrixportal/adafruit_matrixportal/network.py | |
+++ libraries/helpers/matrixportal/adafruit_matrixportal/network.munged.py | |
@@ -36,7 +36,7 @@ | |
else: | |
from adafruit_portalbase.wifi_esp32s2 import WiFi | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MatrixPortal.git" | |
--- libraries/helpers/matrixportal/adafruit_matrixportal/matrix.py | |
+++ libraries/helpers/matrixportal/adafruit_matrixportal/matrix.munged.py | |
@@ -33,7 +33,7 @@ | |
import framebufferio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MatrixPortal.git" | |
--- libraries/helpers/matrixportal/adafruit_matrixportal/__init__.py | |
+++ libraries/helpers/matrixportal/adafruit_matrixportal/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/helpers/matrixportal/adafruit_matrixportal/matrixportal.py | |
+++ libraries/helpers/matrixportal/adafruit_matrixportal/matrixportal.munged.py | |
@@ -33,7 +33,7 @@ | |
from adafruit_matrixportal.network import Network | |
from adafruit_matrixportal.graphics import Graphics | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MatrixPortal.git" | |
--- libraries/helpers/matrixportal/adafruit_matrixportal/graphics.py | |
+++ libraries/helpers/matrixportal/adafruit_matrixportal/graphics.munged.py | |
@@ -29,7 +29,7 @@ | |
from adafruit_portalbase.graphics import GraphicsBase | |
from adafruit_matrixportal.matrix import Matrix | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MatrixPortal.git" | |
--- libraries/helpers/midi/adafruit_midi/program_change.py | |
+++ libraries/helpers/midi/adafruit_midi/program_change.munged.py | |
@@ -18,7 +18,7 @@ | |
from .midi_message import MIDIMessage | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MIDI.git" | |
--- libraries/helpers/midi/adafruit_midi/system_exclusive.py | |
+++ libraries/helpers/midi/adafruit_midi/system_exclusive.munged.py | |
@@ -18,7 +18,7 @@ | |
from .midi_message import MIDIMessage | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MIDI.git" | |
--- libraries/helpers/midi/adafruit_midi/timing_clock.py | |
+++ libraries/helpers/midi/adafruit_midi/timing_clock.munged.py | |
@@ -18,7 +18,7 @@ | |
from .midi_message import MIDIMessage | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MIDI.git" | |
--- libraries/helpers/midi/adafruit_midi/pitch_bend.py | |
+++ libraries/helpers/midi/adafruit_midi/pitch_bend.munged.py | |
@@ -18,7 +18,7 @@ | |
from .midi_message import MIDIMessage | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MIDI.git" | |
--- libraries/helpers/midi/adafruit_midi/note_off.py | |
+++ libraries/helpers/midi/adafruit_midi/note_off.munged.py | |
@@ -18,7 +18,7 @@ | |
from .midi_message import MIDIMessage, note_parser | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MIDI.git" | |
--- libraries/helpers/midi/adafruit_midi/stop.py | |
+++ libraries/helpers/midi/adafruit_midi/stop.munged.py | |
@@ -18,7 +18,7 @@ | |
from .midi_message import MIDIMessage | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MIDI.git" | |
--- libraries/helpers/midi/adafruit_midi/polyphonic_key_pressure.py | |
+++ libraries/helpers/midi/adafruit_midi/polyphonic_key_pressure.munged.py | |
@@ -18,7 +18,7 @@ | |
from .midi_message import MIDIMessage, note_parser | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MIDI.git" | |
--- libraries/helpers/midi/adafruit_midi/note_on.py | |
+++ libraries/helpers/midi/adafruit_midi/note_on.munged.py | |
@@ -18,7 +18,7 @@ | |
from .midi_message import MIDIMessage, note_parser | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MIDI.git" | |
--- libraries/helpers/midi/adafruit_midi/start.py | |
+++ libraries/helpers/midi/adafruit_midi/start.munged.py | |
@@ -18,7 +18,7 @@ | |
from .midi_message import MIDIMessage | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MIDI.git" | |
--- libraries/helpers/midi/adafruit_midi/mtc_quarter_frame.py | |
+++ libraries/helpers/midi/adafruit_midi/mtc_quarter_frame.munged.py | |
@@ -20,7 +20,7 @@ | |
from adafruit_midi.midi_message import MIDIMessage | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MIDI.git" | |
--- libraries/helpers/midi/adafruit_midi/control_change.py | |
+++ libraries/helpers/midi/adafruit_midi/control_change.munged.py | |
@@ -18,7 +18,7 @@ | |
from .midi_message import MIDIMessage | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MIDI.git" | |
--- libraries/helpers/midi/adafruit_midi/midi_continue.py | |
+++ libraries/helpers/midi/adafruit_midi/midi_continue.munged.py | |
@@ -18,7 +18,7 @@ | |
from .midi_message import MIDIMessage | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MIDI.git" | |
--- libraries/helpers/midi/adafruit_midi/__init__.py | |
+++ libraries/helpers/midi/adafruit_midi/__init__.munged.py | |
@@ -28,7 +28,7 @@ | |
from .midi_message import MIDIMessage | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MIDI.git" | |
--- libraries/helpers/midi/adafruit_midi/channel_pressure.py | |
+++ libraries/helpers/midi/adafruit_midi/channel_pressure.munged.py | |
@@ -18,7 +18,7 @@ | |
from .midi_message import MIDIMessage | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MIDI.git" | |
--- libraries/helpers/midi/adafruit_midi/midi_message.py | |
+++ libraries/helpers/midi/adafruit_midi/midi_message.munged.py | |
@@ -22,7 +22,7 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MIDI.git" | |
# From C3 - A and B are above G | |
--- libraries/helpers/midi/adafruit_midi/control_change_values.py | |
+++ libraries/helpers/midi/adafruit_midi/control_change_values.munged.py | |
@@ -35,7 +35,7 @@ | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MIDI.git" | |
MOD_WHEEL = 1 | |
--- libraries/helpers/minimqtt/adafruit_minimqtt/adafruit_minimqtt.py | |
+++ libraries/helpers/minimqtt/adafruit_minimqtt/adafruit_minimqtt.munged.py | |
@@ -38,9 +38,9 @@ | |
from adafruit_connection_manager import get_connection_manager | |
from adafruit_ticks import ticks_ms, ticks_diff | |
-try: | |
- from typing import List, Optional, Tuple, Type, Union | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
try: | |
@@ -52,7 +52,7 @@ | |
from .matcher import MQTTMatcher | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MiniMQTT.git" | |
# Client-specific variables | |
--- libraries/helpers/minimqtt/adafruit_minimqtt/matcher.py | |
+++ libraries/helpers/minimqtt/adafruit_minimqtt/matcher.munged.py | |
@@ -11,9 +11,9 @@ | |
* Author(s): Yoch (https://github.com/yoch) | |
""" | |
-try: | |
- from typing import Dict | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/minimqtt/adafruit_minimqtt/__init__.py | |
+++ libraries/helpers/minimqtt/adafruit_minimqtt/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/helpers/motor/adafruit_motor/stepper.py | |
+++ libraries/helpers/motor/adafruit_motor/stepper.munged.py | |
@@ -18,19 +18,19 @@ | |
from micropython import const | |
-try: | |
- from typing import Union, Optional | |
- from digitalio import DigitalInOut | |
- | |
- try: | |
- from pwmio import PWMOut | |
- except NotImplementedError: | |
- from circuitpython_typing.pwmio import PWMOut | |
- | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Motor.git" | |
# Stepper Motor Shield/Wing Driver | |
--- libraries/helpers/motor/adafruit_motor/motor.py | |
+++ libraries/helpers/motor/adafruit_motor/motor.munged.py | |
@@ -20,19 +20,19 @@ | |
* Author(s): Scott Shawcroft | |
""" | |
-try: | |
- from typing import Optional, Type | |
- from types import TracebackType | |
- try: | |
- from pwmio import PWMOut | |
- except NotImplementedError: | |
- from circuitpython_typing.pwmio import PWMOut | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Motor.git" | |
FAST_DECAY = 0 | |
--- libraries/helpers/motor/adafruit_motor/servo.py | |
+++ libraries/helpers/motor/adafruit_motor/servo.munged.py | |
@@ -12,21 +12,21 @@ | |
* Author(s): Scott Shawcroft | |
""" | |
-try: | |
- from typing import Optional, Type | |
- from types import TracebackType | |
- | |
- # pylint: disable-msg=unused-import | |
- try: | |
- from pwmio import PWMOut | |
- except NotImplementedError: | |
- from circuitpython_typing.pwmio import PWMOut | |
- | |
-except (ImportError, NotImplementedError): | |
- pass | |
-__version__ = "0.0.0+auto.0" | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Motor.git" | |
--- libraries/helpers/neokey/adafruit_neokey/__init__.py | |
+++ libraries/helpers/neokey/adafruit_neokey/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/helpers/neokey/adafruit_neokey/neokey1x4.py | |
+++ libraries/helpers/neokey/adafruit_neokey/neokey1x4.munged.py | |
@@ -26,17 +26,17 @@ | |
# imports | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_NeoKey.git" | |
from micropython import const | |
from adafruit_seesaw import neopixel | |
from adafruit_seesaw.seesaw import Seesaw | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from busio import I2C | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_NEOKEY1X4_ADDR = const(0x30) | |
--- libraries/helpers/onewire/adafruit_onewire/bus.py | |
+++ libraries/helpers/onewire/adafruit_onewire/bus.munged.py | |
@@ -11,17 +11,17 @@ | |
* Author(s): Carter Nelson | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_OneWire.git" | |
import onewireio | |
from micropython import const | |
-try: | |
- from typing import Optional, List, Tuple | |
- from circuitpython_typing import ReadableBuffer, WriteableBuffer | |
- from microcontroller import Pin | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_SEARCH_ROM = const(0xF0) | |
--- libraries/helpers/onewire/adafruit_onewire/__init__.py | |
+++ libraries/helpers/onewire/adafruit_onewire/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/helpers/onewire/adafruit_onewire/device.py | |
+++ libraries/helpers/onewire/adafruit_onewire/device.munged.py | |
@@ -11,15 +11,15 @@ | |
* Author(s): Carter Nelson | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_OneWire.git" | |
-try: | |
- from typing import Optional, Type | |
- from circuitpython_typing import ReadableBuffer, WriteableBuffer | |
- from types import TracebackType | |
- from adafruit_onewire.bus import OneWireBus, OneWireAddress | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
_MATCH_ROM = b"\x55" | |
--- libraries/helpers/pastebin/adafruit_pastebin/gist.py | |
+++ libraries/helpers/pastebin/adafruit_pastebin/gist.munged.py | |
@@ -16,10 +16,10 @@ | |
import json | |
from adafruit_pastebin import _Pastebin | |
-try: | |
- from typing import Optional | |
- from adafruit_pastebin import SupportsStr | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
POST_URL = "https://api.github.com/gists" | |
--- libraries/helpers/pastebin/adafruit_pastebin/adafruit_io.py | |
+++ libraries/helpers/pastebin/adafruit_pastebin/adafruit_io.munged.py | |
@@ -16,11 +16,11 @@ | |
import json | |
from adafruit_pastebin import _Pastebin | |
-try: | |
- import typing # pylint: disable=unused-import | |
- from adafruit_pastebin import SupportsStr | |
- from adafruit_requests import Session | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
POST_URL = "https://io.adafruit.com/api/v2/{username}/feeds/{feed_key}/data" | |
--- libraries/helpers/pastebin/adafruit_pastebin/pastebin.py | |
+++ libraries/helpers/pastebin/adafruit_pastebin/pastebin.munged.py | |
@@ -15,10 +15,10 @@ | |
from adafruit_pastebin import _Pastebin | |
-try: | |
- from typing import Optional | |
- from adafruit_pastebin import SupportsStr # pylint: disable=ungrouped-imports | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/pastebin/adafruit_pastebin/__init__.py | |
+++ libraries/helpers/pastebin/adafruit_pastebin/__init__.munged.py | |
@@ -22,21 +22,21 @@ | |
""" | |
-try: | |
- from typing import List | |
- from typing_extensions import Protocol | |
- from adafruit_requests import Session | |
- class SupportsStr(Protocol): | |
- """Protocol type for anything that supports the :py:meth:`str()` method""" | |
- def __str__(self) -> str: # pylint: disable=invalid-str-returned | |
- ... | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Pastebin.git" | |
--- libraries/helpers/portalbase/adafruit_portalbase/wifi_coprocessor.py | |
+++ libraries/helpers/portalbase/adafruit_portalbase/wifi_coprocessor.munged.py | |
@@ -27,7 +27,7 @@ | |
import adafruit_connection_manager | |
import adafruit_requests | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PortalBase.git" | |
--- libraries/helpers/portalbase/adafruit_portalbase/wifi_esp32s2.py | |
+++ libraries/helpers/portalbase/adafruit_portalbase/wifi_esp32s2.munged.py | |
@@ -27,7 +27,7 @@ | |
import socketpool | |
import adafruit_requests | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PortalBase.git" | |
--- libraries/helpers/portalbase/adafruit_portalbase/network.py | |
+++ libraries/helpers/portalbase/adafruit_portalbase/network.munged.py | |
@@ -33,7 +33,7 @@ | |
except ImportError: | |
rtc = None | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PortalBase.git" | |
# pylint: disable=line-too-long, too-many-lines, too-many-public-methods | |
--- libraries/helpers/portalbase/adafruit_portalbase/__init__.py | |
+++ libraries/helpers/portalbase/adafruit_portalbase/__init__.munged.py | |
@@ -27,7 +27,7 @@ | |
from adafruit_display_text.bitmap_label import Label | |
from adafruit_display_text import wrap_text_to_lines | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PortalBase.git" | |
--- libraries/helpers/portalbase/adafruit_portalbase/graphics.py | |
+++ libraries/helpers/portalbase/adafruit_portalbase/graphics.munged.py | |
@@ -24,7 +24,7 @@ | |
import gc | |
import displayio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PortalBase.git" | |
--- libraries/helpers/progressbar/adafruit_progressbar/progressbar.py | |
+++ libraries/helpers/progressbar/adafruit_progressbar/progressbar.munged.py | |
@@ -24,7 +24,7 @@ | |
# imports | |
from adafruit_progressbar.horizontalprogressbar import HorizontalProgressBar | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ProgressBar.git" | |
--- libraries/helpers/progressbar/adafruit_progressbar/horizontalprogressbar.py | |
+++ libraries/helpers/progressbar/adafruit_progressbar/horizontalprogressbar.munged.py | |
@@ -21,13 +21,13 @@ | |
""" | |
-try: | |
- from typing import Tuple, Union | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass # Not needed for execution | |
from . import ProgressBarBase | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ProgressBar.git" | |
--- libraries/helpers/progressbar/adafruit_progressbar/verticalprogressbar.py | |
+++ libraries/helpers/progressbar/adafruit_progressbar/verticalprogressbar.munged.py | |
@@ -21,14 +21,14 @@ | |
""" | |
-try: | |
- from typing import Tuple | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass # Not needed for execution | |
from . import ProgressBarBase | |
from .horizontalprogressbar import HorizontalProgressBar | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ProgressBar.git" | |
--- libraries/helpers/progressbar/adafruit_progressbar/__init__.py | |
+++ libraries/helpers/progressbar/adafruit_progressbar/__init__.munged.py | |
@@ -22,13 +22,13 @@ | |
""" | |
# imports | |
-try: | |
- from typing import Tuple, Union, List | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass # No harm if the module isn't located | |
import displayio | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ProgressBar.git" | |
--- libraries/helpers/pybadger/adafruit_pybadger/pygamer.py | |
+++ libraries/helpers/pybadger/adafruit_pybadger/pygamer.munged.py | |
@@ -35,12 +35,12 @@ | |
import adafruit_lis3dh | |
from adafruit_pybadger.pybadger_base import PyBadgerBase, KeyStates | |
-try: | |
- from typing import Tuple | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PyBadger.git" | |
Buttons = namedtuple("Buttons", "b a start select right down up left") | |
--- libraries/helpers/pybadger/adafruit_pybadger/clue.py | |
+++ libraries/helpers/pybadger/adafruit_pybadger/clue.munged.py | |
@@ -33,7 +33,7 @@ | |
import neopixel | |
from adafruit_pybadger.pybadger_base import PyBadgerBase, KeyStates | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PyBadger.git" | |
Buttons = namedtuple("Buttons", "a b") | |
--- libraries/helpers/pybadger/adafruit_pybadger/cpb_gizmo.py | |
+++ libraries/helpers/pybadger/adafruit_pybadger/cpb_gizmo.munged.py | |
@@ -39,7 +39,7 @@ | |
from adafruit_pybadger.pybadger_base import PyBadgerBase, KeyStates | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PyBadger.git" | |
Buttons = namedtuple("Buttons", "a b") | |
--- libraries/helpers/pybadger/adafruit_pybadger/magtag.py | |
+++ libraries/helpers/pybadger/adafruit_pybadger/magtag.munged.py | |
@@ -31,7 +31,7 @@ | |
from adafruit_pybadger.pybadger_base import PyBadgerBase | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PyBadger.git" | |
Buttons = namedtuple("Buttons", "a b c d") | |
--- libraries/helpers/pybadger/adafruit_pybadger/pyportal.py | |
+++ libraries/helpers/pybadger/adafruit_pybadger/pyportal.munged.py | |
@@ -30,7 +30,7 @@ | |
import neopixel | |
from adafruit_pybadger.pybadger_base import PyBadgerBase | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PyBadger.git" | |
--- libraries/helpers/pybadger/adafruit_pybadger/pybadge.py | |
+++ libraries/helpers/pybadger/adafruit_pybadger/pybadge.munged.py | |
@@ -41,7 +41,7 @@ | |
from adafruit_pybadger.pybadger_base import PyBadgerBase, KeyStates | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PyBadger.git" | |
Buttons = namedtuple("Buttons", "b a start select right down up left") | |
--- libraries/helpers/pybadger/adafruit_pybadger/pewpewm4.py | |
+++ libraries/helpers/pybadger/adafruit_pybadger/pewpewm4.munged.py | |
@@ -32,7 +32,7 @@ | |
from adafruit_pybadger.pybadger_base import PyBadgerBase, KeyStates | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PyBadger.git" | |
Buttons = namedtuple("Buttons", ("o", "x", "z", "right", "down", "up", "left")) | |
--- libraries/helpers/pybadger/adafruit_pybadger/pybadger_base.py | |
+++ libraries/helpers/pybadger/adafruit_pybadger/pybadger_base.munged.py | |
@@ -27,7 +27,7 @@ | |
""" | |
-from __future__ import annotations | |
+ | |
import time | |
@@ -57,12 +57,12 @@ | |
# Allow to work with no audio | |
pass | |
-try: | |
- from typing import TYPE_CHECKING | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
TYPE_CHECKING = const(0) | |
-if TYPE_CHECKING: | |
+if 0: | |
from typing import Union, Tuple, Optional, Generator | |
from adafruit_bitmap_font.bdf import BDF # pylint: disable=ungrouped-imports | |
from adafruit_bitmap_font.pcf import PCF # pylint: disable=ungrouped-imports | |
@@ -71,7 +71,7 @@ | |
from neopixel import NeoPixel | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PyBadger.git" | |
--- libraries/helpers/pycamera/adafruit_pycamera/__init__.py | |
+++ libraries/helpers/pycamera/adafruit_pycamera/__init__.munged.py | |
@@ -10,9 +10,9 @@ | |
import struct | |
import time | |
-try: | |
- from typing import Sequence | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
import adafruit_aw9523 | |
@@ -35,7 +35,7 @@ | |
from digitalio import DigitalInOut, Pull | |
from rainbowio import colorwheel | |
-__version__ = "0.0.0-auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PyCamera.git" | |
from micropython import const | |
--- libraries/helpers/qualia/adafruit_qualia/network.py | |
+++ libraries/helpers/qualia/adafruit_qualia/network.munged.py | |
@@ -31,14 +31,14 @@ | |
from adafruit_portalbase.network import NetworkBase | |
from adafruit_portalbase.wifi_esp32s2 import WiFi | |
-try: | |
- from typing import Optional, Union, Callable | |
- from adafruit_io.adafruit_io import IO_MQTT | |
- import adafruit_minimqtt.adafruit_minimqtt as MQTT | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Qualia.git" | |
IO_MQTT_BROKER = "io.adafruit.com" | |
--- libraries/helpers/qualia/adafruit_qualia/__init__.py | |
+++ libraries/helpers/qualia/adafruit_qualia/__init__.munged.py | |
@@ -33,12 +33,12 @@ | |
from .graphics import Graphics | |
from .peripherals import Peripherals | |
-try: | |
- from typing import Optional, Dict, Union, Callable, Sequence, List | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Qualia.git" | |
--- libraries/helpers/qualia/adafruit_qualia/peripherals.py | |
+++ libraries/helpers/qualia/adafruit_qualia/peripherals.munged.py | |
@@ -35,7 +35,7 @@ | |
from digitalio import Pull | |
import adafruit_pca9554 | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Qualia.git" | |
--- libraries/helpers/qualia/adafruit_qualia/graphics.py | |
+++ libraries/helpers/qualia/adafruit_qualia/graphics.munged.py | |
@@ -30,7 +30,7 @@ | |
import os | |
from adafruit_portalbase.graphics import GraphicsBase | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Qualia.git" | |
--- libraries/helpers/radial_controller/adafruit_radial_controller/__init__.py | |
+++ libraries/helpers/radial_controller/adafruit_radial_controller/__init__.munged.py | |
@@ -30,7 +30,7 @@ | |
import usb_hid | |
from adafruit_hid import find_device | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Radial_Controller.git" | |
--- libraries/helpers/radial_controller/adafruit_radial_controller/device.py | |
+++ libraries/helpers/radial_controller/adafruit_radial_controller/device.munged.py | |
@@ -14,7 +14,7 @@ | |
""" | |
# pylint: enable=line-too-long | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Radial_Controller.git" | |
import usb_hid | |
--- libraries/helpers/register/adafruit_register/i2c_bits.py | |
+++ libraries/helpers/register/adafruit_register/i2c_bits.munged.py | |
@@ -12,13 +12,13 @@ | |
* Author(s): Scott Shawcroft | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Register.git" | |
-try: | |
- from typing import Optional, Type, NoReturn | |
- from circuitpython_typing.device_drivers import I2CDeviceDriver | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/register/adafruit_register/i2c_struct_array.py | |
+++ libraries/helpers/register/adafruit_register/i2c_struct_array.munged.py | |
@@ -12,15 +12,15 @@ | |
* Author(s): Scott Shawcroft | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Register.git" | |
import struct | |
-try: | |
- from typing import Tuple, Optional, Type | |
- from circuitpython_typing.device_drivers import I2CDeviceDriver | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/register/adafruit_register/i2c_bcd_datetime.py | |
+++ libraries/helpers/register/adafruit_register/i2c_bcd_datetime.munged.py | |
@@ -12,16 +12,16 @@ | |
* Author(s): Scott Shawcroft | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Register.git" | |
import time | |
-try: | |
- from typing import Optional, Type | |
- from typing_extensions import Literal | |
- from circuitpython_typing.device_drivers import I2CDeviceDriver | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/register/adafruit_register/i2c_bcd_alarm.py | |
+++ libraries/helpers/register/adafruit_register/i2c_bcd_alarm.munged.py | |
@@ -12,20 +12,20 @@ | |
* Author(s): Scott Shawcroft | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Register.git" | |
import time | |
-try: | |
- from typing import Optional, Type, Tuple | |
- from typing_extensions import Literal | |
- from circuitpython_typing.device_drivers import I2CDeviceDriver | |
- FREQUENCY_T = Literal[ | |
- "monthly", "weekly", "daily", "hourly", "secondly", "minutely" | |
- ] | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/register/adafruit_register/__init__.py | |
+++ libraries/helpers/register/adafruit_register/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/helpers/register/adafruit_register/i2c_bit.py | |
+++ libraries/helpers/register/adafruit_register/i2c_bit.munged.py | |
@@ -12,13 +12,13 @@ | |
* Author(s): Scott Shawcroft | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Register.git" | |
-try: | |
- from typing import Optional, Type, NoReturn | |
- from circuitpython_typing.device_drivers import I2CDeviceDriver | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/register/adafruit_register/i2c_struct.py | |
+++ libraries/helpers/register/adafruit_register/i2c_struct.munged.py | |
@@ -12,15 +12,15 @@ | |
* Author(s): Scott Shawcroft | |
""" | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Register.git" | |
import struct | |
-try: | |
- from typing import Optional, Type, Tuple, Any, NoReturn | |
- from circuitpython_typing.device_drivers import I2CDeviceDriver | |
-except ImportError: | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/rsa/adafruit_rsa/pkcs1.py | |
+++ libraries/helpers/rsa/adafruit_rsa/pkcs1.munged.py | |
@@ -25,30 +25,30 @@ | |
import adafruit_hashlib as hashlib | |
from adafruit_rsa import common, transform, core | |
-try: | |
- from typing import Optional, Iterator, Union | |
- from adafruit_rsa.key import PublicKey, PrivateKey | |
- | |
- try: | |
- from typing import Protocol | |
- except ImportError: | |
- from typing_extensions import Protocol | |
- | |
- try: | |
- from typing import Literal | |
- except ImportError: | |
- from typing_extensions import Literal | |
- | |
- class _FileLikeObject(Protocol): | |
- """A file like object that implements the :meth:`read` method""" | |
- | |
- def read(self, blocksize: int) -> Union[bytes, str]: | |
- """A method that reads a given number of bytes or chracters""" | |
- | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RSA.git" | |
# ASN.1 codes that describe the hash algorithm used. | |
--- libraries/helpers/rsa/adafruit_rsa/_compat.py | |
+++ libraries/helpers/rsa/adafruit_rsa/_compat.munged.py | |
@@ -13,18 +13,18 @@ | |
import sys | |
from struct import pack | |
-try: | |
- from typing import Any, Tuple | |
- try: | |
- from typing import Literal | |
- except ImportError: | |
- from typing_extensions import Literal | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RSA.git" | |
MAX_INT = sys.maxsize | |
--- libraries/helpers/rsa/adafruit_rsa/core.py | |
+++ libraries/helpers/rsa/adafruit_rsa/core.munged.py | |
@@ -16,12 +16,12 @@ | |
# pylint: disable=invalid-name | |
from adafruit_rsa._compat import is_integer | |
-try: | |
- from typing import Any | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RSA.git" | |
--- libraries/helpers/rsa/adafruit_rsa/randnum.py | |
+++ libraries/helpers/rsa/adafruit_rsa/randnum.munged.py | |
@@ -17,7 +17,7 @@ | |
from adafruit_rsa import common, transform | |
from adafruit_rsa._compat import byte | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RSA.git" | |
--- libraries/helpers/rsa/adafruit_rsa/machine_size.py | |
+++ libraries/helpers/rsa/adafruit_rsa/machine_size.munged.py | |
@@ -12,17 +12,17 @@ | |
import sys | |
-try: | |
- from typing import Tuple | |
- try: | |
- from typing import Literal | |
- except ImportError: | |
- from typing_extensions import Literal | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RSA.git" | |
MAX_INT = sys.maxsize | |
--- libraries/helpers/rsa/adafruit_rsa/asn1.py | |
+++ libraries/helpers/rsa/adafruit_rsa/asn1.munged.py | |
@@ -18,7 +18,7 @@ | |
except ImportError as err: | |
raise ImportError("Usage of asn1.py requires pyasn1 library") from err | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RSA.git" | |
--- libraries/helpers/rsa/adafruit_rsa/transform.py | |
+++ libraries/helpers/rsa/adafruit_rsa/transform.munged.py | |
@@ -20,12 +20,12 @@ | |
from adafruit_rsa._compat import byte, is_integer | |
from adafruit_rsa import common, machine_size | |
-try: | |
- from typing import Optional | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RSA.git" | |
--- libraries/helpers/rsa/adafruit_rsa/key.py | |
+++ libraries/helpers/rsa/adafruit_rsa/key.munged.py | |
@@ -34,17 +34,17 @@ | |
import adafruit_rsa.randnum | |
import adafruit_rsa.core | |
-try: | |
- from typing import Any, Tuple, Dict, Callable | |
- | |
- try: | |
- from typing import Literal | |
- except ImportError: | |
- from typing_extensions import Literal | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RSA.git" | |
# pylint: disable=invalid-name, useless-object-inheritance, redefined-builtin, no-name-in-module, too-few-public-methods | |
--- libraries/helpers/rsa/adafruit_rsa/prime.py | |
+++ libraries/helpers/rsa/adafruit_rsa/prime.munged.py | |
@@ -24,7 +24,7 @@ | |
except ImportError: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RSA.git" | |
__all__ = ["getprime", "are_relatively_prime"] | |
--- libraries/helpers/rsa/adafruit_rsa/common.py | |
+++ libraries/helpers/rsa/adafruit_rsa/common.munged.py | |
@@ -12,12 +12,12 @@ | |
# pylint: disable=invalid-name | |
-try: | |
- from typing import Optional, Tuple, Sequence | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RSA.git" | |
--- libraries/helpers/rsa/adafruit_rsa/__init__.py | |
+++ libraries/helpers/rsa/adafruit_rsa/__init__.munged.py | |
@@ -31,5 +31,5 @@ | |
__author__ = "Sybren Stuvel, Barry Mead and Yesudeep Mangalapilly" | |
__date__ = "2018-09-16" | |
# __version__ = '4.0.0' | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RSA.git" | |
--- libraries/helpers/rsa/adafruit_rsa/pem.py | |
+++ libraries/helpers/rsa/adafruit_rsa/pem.munged.py | |
@@ -15,12 +15,12 @@ | |
# pylint: disable=redefined-builtin | |
from adafruit_rsa._compat import is_bytes | |
-try: | |
- from typing import Union, Tuple | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RSA.git" | |
--- libraries/helpers/tinylora/adafruit_tinylora/adafruit_tinylora.py | |
+++ libraries/helpers/tinylora/adafruit_tinylora/adafruit_tinylora.munged.py | |
@@ -52,7 +52,7 @@ | |
pass | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_TinyLoRa.git" | |
# RFM Module Settings | |
--- libraries/helpers/tinylora/adafruit_tinylora/adafruit_tinylora_encryption.py | |
+++ libraries/helpers/tinylora/adafruit_tinylora/adafruit_tinylora_encryption.munged.py | |
@@ -11,16 +11,16 @@ | |
* Author(s): adafruit | |
""" | |
-try: # typing | |
- from typing import Annotated, List, Tuple, TypeAlias | |
- | |
- # pylint: disable=invalid-name | |
- bytearray2: TypeAlias = Annotated[bytearray, 2] | |
- bytearray4: TypeAlias = Annotated[bytearray, 4] | |
- bytearray16: TypeAlias = Annotated[bytearray, 16] | |
- | |
- StateMatrix: TypeAlias = List[bytearray4] | |
-except ImportError: | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/waveform/adafruit_waveform/sine.py | |
+++ libraries/helpers/waveform/adafruit_waveform/sine.munged.py | |
@@ -15,7 +15,7 @@ | |
import array | |
import math | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Waveform.git" | |
--- libraries/helpers/waveform/adafruit_waveform/square.py | |
+++ libraries/helpers/waveform/adafruit_waveform/square.munged.py | |
@@ -14,7 +14,7 @@ | |
import array | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Waveform.git" | |
--- libraries/helpers/waveform/adafruit_waveform/__init__.py | |
+++ libraries/helpers/waveform/adafruit_waveform/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ | |
--- libraries/helpers/wsgi/adafruit_wsgi/wsgi_app.py | |
+++ libraries/helpers/wsgi/adafruit_wsgi/wsgi_app.munged.py | |
@@ -28,14 +28,14 @@ | |
import re | |
-try: | |
- from typing import Any, AnyStr, Callable, Dict, List, Optional, Sequence, Tuple | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
from adafruit_wsgi.request import Request | |
-__version__ = "0.0.0+auto.0" | |
+__version__ = "munged-version" | |
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_WSGI.git" | |
--- libraries/helpers/wsgi/adafruit_wsgi/request.py | |
+++ libraries/helpers/wsgi/adafruit_wsgi/request.munged.py | |
@@ -11,9 +11,9 @@ | |
""" | |
import re | |
-try: | |
- from typing import Dict | |
-except ImportError: | |
+ | |
+ | |
+if 1: | |
pass | |
--- libraries/helpers/wsgi/adafruit_wsgi/__init__.py | |
+++ libraries/helpers/wsgi/adafruit_wsgi/__init__.munged.py | |
@@ -0,0 +1 @@ | |
+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment