Skip to content

Commit c5e8fa7

Browse files
committedNov 9, 2021
Fix membership check
1 parent 3ce9f8f commit c5e8fa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎isort/settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ def __init__(
464464
path_root.glob(src_path) if "*" in str(src_path) else [path_root / src_path]
465465
)
466466
for path in full_paths:
467-
if not path in src_paths:
467+
if path not in src_paths:
468468
src_paths.append(path)
469469

470470
combined_config["src_paths"] = tuple(src_paths)

0 commit comments

Comments
 (0)
Please sign in to comment.