Skip to content

Commit 20ec5d6

Browse files
Update api/analyzers/source_analyzer.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 105d1d3 commit 20ec5d6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

api/analyzers/source_analyzer.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,10 @@ def analyze_local_folder(self, path: str, g: Graph, ignore: Optional[list[str]]
181181

182182
logging.info("Done analyzing path")
183183

184-
def analyze_local_repository(self, path: str, ignore: Optional[list[str]] = []) -> Graph:
184+
def analyze_local_repository(self, path: str, ignore: Optional[list[str]] = None) -> Graph:
185+
if ignore is None:
186+
ignore = []
187+
# ... (rest of the function implementation)
185188
"""
186189
Analyze a local Git repository.
187190

0 commit comments

Comments
 (0)