diff --git a/analyzers/dart-analyze/utils/issue_gen.py b/analyzers/dart-analyze/utils/issue_gen.py index e9ba9083..210a3d9f 100644 --- a/analyzers/dart-analyze/utils/issue_gen.py +++ b/analyzers/dart-analyze/utils/issue_gen.py @@ -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) diff --git a/analyzers/dart-analyze/utils/issue_map_gen.py b/analyzers/dart-analyze/utils/issue_map_gen.py index af246daf..274c21fe 100644 --- a/analyzers/dart-analyze/utils/issue_map_gen.py +++ b/analyzers/dart-analyze/utils/issue_map_gen.py @@ -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)