We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26217e1 commit 77a4610Copy full SHA for 77a4610
1 file changed
poetry/core/masonry/builders/builder.py
@@ -153,8 +153,10 @@ def find_files_to_add(
153
if "__pycache__" in str(file):
154
continue
155
156
+ # this should be moved to Include.check_elements(), similar
157
+ # to PackageInclude.check_elements()
158
if file.is_dir():
- if self.format in formats:
159
+ if self.format in formats: # why check this only for dirs?
160
for current_file in file.glob("**/*"):
161
include_file = BuildIncludeFile(
162
path=current_file,
0 commit comments