Set ignore_non_source_files=True in gather_source_files #519

This commit is contained in:
Dominik Jain authored and Dominik Jain committed 2025-08-22 14:49:48 +02:00
1 parent ac149afac9
commit 48a1952cae
1 file changed
+1 -1
+1 -1
View File
@@ -191,7 +191,7 @@ class Project:
for file in files:
abs_file_path = os.path.join(root, file)
try:
if not self.is_ignored_path(abs_file_path):
if not self.is_ignored_path(abs_file_path, ignore_non_source_files=True):
try:
rel_file_path = os.path.relpath(abs_file_path, start=self.project_root)
except Exception as e: