Switch from mypy to pyright
This commit is contained in:
parent
7b26d3a160
commit
cc0c978f0c
12 changed files with 1000 additions and 17 deletions
20
typings/sense_hat/exceptions.pyi
Normal file
20
typings/sense_hat/exceptions.pyi
Normal 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 = ...
|
||||
Reference in a new issue