Skip to content

Commit

Permalink
Fix membership check
Browse files Browse the repository at this point in the history
  • Loading branch information
timothycrosley committed Nov 9, 2021
1 parent 3ce9f8f commit c5e8fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isort/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ def __init__(
path_root.glob(src_path) if "*" in str(src_path) else [path_root / src_path]
)
for path in full_paths:
if not path in src_paths:
if path not in src_paths:
src_paths.append(path)

combined_config["src_paths"] = tuple(src_paths)
Expand Down

0 comments on commit c5e8fa7

Please sign in to comment.