chore(deps-dev): apply updates
[e-mobility-charging-stations-simulator.git] / tests / ocpp-server / timer.py
index b267bef674386ed71505e1bf57c27ca770bb405f..53e6373ee931cfdea934127f1ddfd58711f4231d 100644 (file)
@@ -1,6 +1,4 @@
-"""
-Timer for asyncio.
-"""
+"""Timer for asyncio."""
 
 import asyncio
 
@@ -14,10 +12,11 @@ class Timer:
         callback_args=(),
         callback_kwargs=None,
     ):
-        """An asynchronous Timer object.
+        """
+        An asynchronous Timer object.
 
         Parameters
-        -----------
+        ----------
         timeout: :class:`float`:
         The duration for which the timer should last.
 
@@ -61,7 +60,5 @@ class Timer:
             self._callback(*self._callback_args, **self._callback_kwargs)
 
     def cancel(self):
-        """
-        Cancels the timer. The callback will not be called.
-        """
+        """Cancels the timer. The callback will not be called."""
         self._task.cancel()