Skip to content

Commit

Permalink
suppress no-untyped-def lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjiU authored Jun 19, 2024
1 parent f72d2a6 commit 6986d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mqtt_io/modules/sensor/yfs201.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class YFS201:
Multiple instances support multiple sensors on different pins
"""

def __init__(self, gpiozero, name: str, pin: int) -> None:
def __init__(self, gpiozero, name: str, pin: int) -> None: # type: ignore[no-untyped-def]
self.name = name
self.pin = gpiozero.DigitalInputDevice(pin)
self.pin.when_activated = self.count_pulse
Expand Down

0 comments on commit 6986d75

Please sign in to comment.