[elbe-devel] [PATCH 4/5] updated_monitors: disable no-membmer

Bastian Germann bage at linutronix.de
Fri Sep 10 12:13:42 CEST 2021


Typo in subject: no-member

Am 08.09.21 um 17:01 schrieb Torben Hohn:
> pylint does not seem to be able to see the members.
> 
> Disable the complaint.
> 
> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>

With the subject fixed:
Reviewed-by: Bastian Germann <bage at linutronix.de>

> ---
>   elbepack/updated_monitors.py | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/elbepack/updated_monitors.py b/elbepack/updated_monitors.py
> index 40f658627..e6922ae62 100644
> --- a/elbepack/updated_monitors.py
> +++ b/elbepack/updated_monitors.py
> @@ -118,6 +118,8 @@ class FileMonitor (UpdateMonitor):
>           super(FileMonitor, self).__init__(status)
>           self.wm = pyinotify.WatchManager()
>           self.notifier = pyinotify.Notifier(self.wm)
> +
> +        # pylint: disable=no-member
>           self.wm.add_watch(update_dir, pyinotify.IN_CLOSE_WRITE,
>                             proc_fun=FileMonitor.EventHandler(self.status))
>           self.observer = FileMonitor.ObserverThread(self.status, self)
> 


More information about the elbe-devel mailing list