Skip to content

Commit

Permalink
Fixed lint issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyas-damle committed Sep 2, 2024
1 parent 993d7f9 commit 9e38987
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions pebblo/app/service/local_ui/loader_apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ def get_findings_for_loader_app(self, app_data):
findings["snippetCount"] += len(
entity_data["snippetIds"]
)
findings["fileCount"] = len(app_data.get("documents", []))
findings["fileCount"] = len(
app_data.get("documents", [])
)
total_snippet_count += findings["snippetCount"]
snippets.extend(
self._get_snippet_details(
Expand Down Expand Up @@ -123,11 +125,14 @@ def get_findings_for_loader_app(self, app_data):
findings["snippetCount"] += len(
topic_data.get("snippetIds", [])
)
findings["fileCount"] = len(app_data.get("documents", []))
findings["fileCount"] = len(
app_data.get("documents", [])
)
total_snippet_count += findings["snippetCount"]
snippets.extend(
self._get_snippet_details(
topic_data.get("snippetIds", []), app_data["owner"]
topic_data.get("snippetIds", []),
app_data["owner"],
)
)
break
Expand Down

0 comments on commit 9e38987

Please sign in to comment.