We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50f5fd3 commit 988a864Copy full SHA for 988a864
src/poetry/core/masonry/builders/builder.py
@@ -130,14 +130,8 @@ def find_excluded_files(self, fmt: str | None = None) -> set[str]:
130
)
131
132
ignored = (vcs_ignored_files | explicitely_excluded) - explicitely_included
133
- result = set()
134
- for file in ignored:
135
- result.add(file)
136
-
137
- # The list of excluded files might be big and we will do a lot
138
- # containment check (x in excluded).
139
- # Returning a set make those tests much much faster.
140
- self._excluded_files = result
+
+ self._excluded_files = ignored
141
142
return self._excluded_files
143
0 commit comments