Skip to content

Commit b1f9c5b

Browse files
committed
Fixing ruff
1 parent 8784b6f commit b1f9c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dojo/importers/default_importer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def close_old_findings(
276276
).exclude(test=self.test)
277277
# Filter further based on the deduplication algorithm set on the test
278278
self.deduplication_algorithm = self.determine_deduplication_algorithm()
279-
if self.deduplication_algorithm in ["hash_code", "legacy"]:
279+
if self.deduplication_algorithm in {"hash_code", "legacy"}:
280280
old_findings = old_findings.exclude(
281281
hash_code__in=new_hash_codes,
282282
)

0 commit comments

Comments
 (0)