Skip to content

Commit cf43f12

Browse files
committed
Added type annotation for "_watched_files".
1 parent d9375c6 commit cf43f12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/watchdog/observers/read_directory_changes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def __init__(
4444
super().__init__(event_queue, watch, timeout=timeout, event_filter=event_filter)
4545
self._lock = threading.Lock()
4646
self._whandle: HANDLE | None = None
47-
self._watched_files = {}
47+
self._watched_files: dict[str, str] = {}
4848

4949
def on_thread_start(self) -> None:
5050
watch_path = self.watch.path

0 commit comments

Comments
 (0)