Skip to content

Conversation

@Nawaf-TBE
Copy link

This pull request adds support for parsing Python files as part of the SecureAgent project.

  • Implemented a PythonParser class using tree-sitter for Python AST parsing.
  • Integrated the parser into the EXTENSIONS_TO_PARSERS map in constants.ts.
  • The parser supports:
    • Syntax validation (dryRun method).
    • Extracting the largest enclosing context for a given range of lines (findEnclosingContext method).

This feature expands the review agent's capabilities to provide suggestions for Python files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant