From 30e534c554c689c6bbe2a249942c17cf5d4b6669 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Tue, 27 Jun 2023 09:07:35 +0200 Subject: [PATCH] Ignore PyLint false positive --- scan_to_paperless/status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scan_to_paperless/status.py b/scan_to_paperless/status.py index 45a42e60..5db8d2fd 100644 --- a/scan_to_paperless/status.py +++ b/scan_to_paperless/status.py @@ -80,7 +80,7 @@ def set_status(self, name: str, status: str, details: str = "") -> None: def scan(self) -> None: """Scan for changes for waiting documents.""" - for name in self._status: + for name in self._status: # pylint: disable=consider-using-dict-items if name != self._current_folder: if os.path.isdir(os.path.join(os.environ.get("SCAN_SOURCE_FOLDER", "/source"), name)): self._update_status(name)