fix linter warnings

This commit is contained in:
Kevin Hester committed 2024-06-25 10:21:11 -07:00
1 parent 362c1f3d2a
commit be74c3eea0
3 files changed
+4 -3

No files matched your search

+1 -1
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.
+3 -1
View File
@@ -1 +1,3 @@
from .riden import *
"""Support for logging from power meters/supplies."""
from .riden import *
-1
View File
@@ -55,4 +55,3 @@ class RidenPowerSupply(PowerSupply):
"""Get the current watt-hour reading."""
self.r.update()
return self.r.wh