Fix: Deduplication of ignore patterns shuffled patterns, breaking intended semantics

Fixes #1138
This commit is contained in:
Dominik Jain authored and Dominik Jain committed 2026-03-06 19:34:04 +01:00
1 parent 9755ba596f
commit b89522f363
1 file changed
+1 -1
+1 -1
View File
@@ -250,7 +250,7 @@ class Project(ToStringMixin):
# Set up the pathspec matcher for the ignored paths
# for all absolute paths in ignored_paths, convert them to relative paths
processed_patterns = []
for pattern in set(ignored_patterns):
for pattern in ignored_patterns:
# Normalize separators (pathspec expects forward slashes)
pattern = pattern.replace(os.path.sep, "/")
processed_patterns.append(pattern)