Switch from mypy to pyright

This commit is contained in:
Edgar P. Burkhart 2024-12-09 13:25:00 +01:00
parent 7b26d3a160
commit cc0c978f0c
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
12 changed files with 1000 additions and 17 deletions

View file

@ -0,0 +1,20 @@
"""
This type stub file was generated by pyright.
"""
class SenseHatException(Exception):
"""
The base exception class for all SenseHat exceptions.
"""
fmt = ...
def __init__(self, **kwargs) -> None: ...
class ColourSensorInitialisationError(SenseHatException):
fmt = ...
class InvalidGainError(SenseHatException):
fmt = ...
class InvalidIntegrationCyclesError(SenseHatException):
fmt = ...