We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40c0827 commit 105d1d3Copy full SHA for 105d1d3
api/project.py
@@ -76,7 +76,9 @@ def from_local_repository(cls, path: Path|str):
76
77
return cls(name, path, url)
78
79
- def analyze_sources(self, ignore: Optional[List[str]] = []) -> Graph:
+ def analyze_sources(self, ignore: Optional[List[str]] = None) -> Graph:
80
+ if ignore is None:
81
+ ignore = []
82
analyzer = SourceAnalyzer()
83
analyzer.analyze_local_folder(self.path, self.graph, ignore)
84
0 commit comments