Skip to content

Commit

Permalink
chore: fix more issues
Browse files Browse the repository at this point in the history
  • Loading branch information
parth-deepsource committed Nov 24, 2023
1 parent 37968ba commit 958e7f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion analyzers/dart-analyze/utils/issue_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ def update_issues(issues: List[Issue]) -> None:
f.write(content)


def main():
def main() -> None:
"""Entrypoint for this script."""
extractor = IssueExtractor()
issues = extractor.issues
update_issues(issues=issues)
Expand Down
3 changes: 2 additions & 1 deletion analyzers/dart-analyze/utils/issue_map_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ def generate_mapping(issues: List[Issue]) -> Dict[str, Dict[str, str]]:
return issue_map


def main():
def main() -> None:
"""Entrypoint for this script."""
extractor = IssueExtractor()
issues = extractor.issues
generate_mapping(issues=issues)
Expand Down

0 comments on commit 958e7f4

Please sign in to comment.