From b0838d871b5a40fb53cda97508f5fe8487a0d097 Mon Sep 17 00:00:00 2001 From: Marcin Usielski Date: Tue, 6 Feb 2024 11:09:43 +0100 Subject: [PATCH] pydocstyle --- moler/cmd/unix/ps.py | 1 - moler/device/textualdevice.py | 8 ++++---- moler/io/raw/subprocess.py | 1 + 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/moler/cmd/unix/ps.py b/moler/cmd/unix/ps.py index cf506375c..376325eb6 100644 --- a/moler/cmd/unix/ps.py +++ b/moler/cmd/unix/ps.py @@ -22,7 +22,6 @@ # result knowledge - class Ps(GenericUnixCommand): """Unix command ps.""" diff --git a/moler/device/textualdevice.py b/moler/device/textualdevice.py index 2d8d3f970..8dec76e32 100644 --- a/moler/device/textualdevice.py +++ b/moler/device/textualdevice.py @@ -827,10 +827,10 @@ def _get_observer_in_state(self, observer_name, observer_type, for_state, **kwar exc = DeviceFailure( device=self.__class__.__name__, - message=f"Failed to create {observer_type}-object for '{observer_name}' {observer_type}."\ - f" '{observer_name}' {observer_type} is unknown for state '{for_state}' of device "\ - f"'{self.__class__.__name__}'. Available names: {available_observer_names}." - ) + message=f"Failed to create {observer_type}-object for '{observer_name}' {observer_type}." + f" '{observer_name}' {observer_type} is unknown for state '{for_state}' of device " + f"'{self.__class__.__name__}'. Available names: {available_observer_names}." + ) self._log(logging.ERROR, exc) raise exc diff --git a/moler/io/raw/subprocess.py b/moler/io/raw/subprocess.py index e3e194e66..c0766b35b 100644 --- a/moler/io/raw/subprocess.py +++ b/moler/io/raw/subprocess.py @@ -8,6 +8,7 @@ import abc import six + @six.add_metaclass(abc.ABCMeta) class Subprocess: