Skip to content

Commit

Permalink
Ignore PyLint false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jun 27, 2023
1 parent 99c8dd7 commit 30e534c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scan_to_paperless/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 30e534c

Please # to comment.