mirror of
https://github.com/meshtastic/python.git
synced 2026-01-02 12:57:56 -05:00
fix linter warnings
This commit is contained in:
@@ -10,7 +10,7 @@ class Event:
|
||||
|
||||
def __getattr__(self, name: str) -> typing.Any:
|
||||
"""We dynamically add attributes to this class, so stub out __getattr__ so that mypy doesn't complain."""
|
||||
pass
|
||||
|
||||
|
||||
class Observable:
|
||||
"""A class that represents an observable object.
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
from .riden import *
|
||||
"""Support for logging from power meters/supplies."""
|
||||
|
||||
from .riden import *
|
||||
|
||||
@@ -55,4 +55,3 @@ class RidenPowerSupply(PowerSupply):
|
||||
"""Get the current watt-hour reading."""
|
||||
self.r.update()
|
||||
return self.r.wh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user