fix linter warnings

This commit is contained in:
Kevin Hester
2024-06-22 12:19:06 -07:00
parent 362c1f3d2a
commit be74c3eea0
3 changed files with 4 additions and 3 deletions

View File

@@ -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.

View File

@@ -1 +1,3 @@
from .riden import *
"""Support for logging from power meters/supplies."""
from .riden import *

View File

@@ -55,4 +55,3 @@ class RidenPowerSupply(PowerSupply):
"""Get the current watt-hour reading."""
self.r.update()
return self.r.wh