Skip to content

Commit 77a4610

Browse files
committed
Some remarks
1 parent 26217e1 commit 77a4610

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

poetry/core/masonry/builders/builder.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,10 @@ def find_files_to_add(
153153
if "__pycache__" in str(file):
154154
continue
155155

156+
# this should be moved to Include.check_elements(), similar
157+
# to PackageInclude.check_elements()
156158
if file.is_dir():
157-
if self.format in formats:
159+
if self.format in formats: # why check this only for dirs?
158160
for current_file in file.glob("**/*"):
159161
include_file = BuildIncludeFile(
160162
path=current_file,

0 commit comments

Comments
 (0)