mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 16:15:29 +00:00
Set ignore_non_source_files=True in gather_source_files #519
This commit is contained in:
1 parent
ac149afac9
commit
48a1952cae
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user