diff --git a/codegen-examples/examples/github_checks/README.md b/codegen-examples/examples/github_checks/README.md index cb0a87f94..af5564a70 100644 --- a/codegen-examples/examples/github_checks/README.md +++ b/codegen-examples/examples/github_checks/README.md @@ -1,10 +1,10 @@ # Github Checks -This application is a GitHub integration that analyzes import cycles in Python codebases. It automatically runs when a pull request is labeled and checks for potentially problematic import patterns in the modified codebase. +This application is a GitHub integration that analyzes import cycles in codebases. It automatically runs when a pull request is labeled and checks for potentially problematic import patterns in the modified codebase. ## Features -- Analyzes import relationships in Python codebases +- Analyzes import relationships in codebases - Detects circular import dependencies - Identifies problematic cycles with mixed static and dynamic imports - Automatically comments on pull requests with detailed analysis diff --git a/codegen-examples/examples/github_checks/app.py b/codegen-examples/examples/github_checks/app.py index fe5097154..1bf4b3fb9 100644 --- a/codegen-examples/examples/github_checks/app.py +++ b/codegen-examples/examples/github_checks/app.py @@ -107,7 +107,6 @@ def handle_pr(event: PullRequestLabeledEvent): cycles = find_import_cycles(G) problematic_loops = find_problematic_import_loops(G, cycles) - # Build comment message message = ["### Import Cycle Analysis - GitHub Check\n"] if problematic_loops: