From 753c7179ca72b70f86f81022f43d19ab9b345aab Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Tue, 10 Oct 2023 10:26:48 -0700 Subject: [PATCH] Run black again --- src/watchdog/observers/inotify.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/watchdog/observers/inotify.py b/src/watchdog/observers/inotify.py index 223e4caf..bc878fca 100644 --- a/src/watchdog/observers/inotify.py +++ b/src/watchdog/observers/inotify.py @@ -119,9 +119,7 @@ class InotifyEmitter(EventEmitter): Optional[Iterable[:class:`watchdog.events.FileSystemEvent`]] """ - def __init__( - self, event_queue, watch, timeout=DEFAULT_EMITTER_TIMEOUT, event_filter=None - ): + def __init__(self, event_queue, watch, timeout=DEFAULT_EMITTER_TIMEOUT, event_filter=None): super().__init__(event_queue, watch, timeout, event_filter) self._lock = threading.Lock() self._inotify = None @@ -140,15 +138,11 @@ def queue_events(self, timeout, full_events=False): # If "full_events" is true, then the method will report unmatched move events as separate events # This behavior is by default only called by a InotifyFullEmitter if self._inotify is None: - logger.error( - "InotifyEmitter.queue_events() called when the thread is inactive" - ) + logger.error("InotifyEmitter.queue_events() called when the thread is inactive") return with self._lock: if self._inotify is None: - logger.error( - "InotifyEmitter.queue_events() called when the thread is inactive" - ) + logger.error("InotifyEmitter.queue_events() called when the thread is inactive") return event = self._inotify.read_event() if event is None: