VS Code Extensions
N

NPy Review

by NitishTalwar

AI-powered code review for Python code style and best practices

Downloads

909

Rating

— (0)

Version

0.0.1

Last updated

Apr 23, 2026

AI-powered code review for Python code style and best practices.

Features

  • Real-time Code Review — Get instant feedback on code style issues as you write
  • AI-Powered — Uses Claude AI to analyze your code
  • Python Focused — Specifically designed for Python code style conventions
  • VS Code Integrated — Issues appear directly in the Problems panel

Requirements

  • Python backend server running (python -m review_server.main)
  • Anthropic API key set in environment variable ANTHROPIC_API_KEY

Extension Settings

Setting Default Description
npyReview.backendUrl http://localhost:8765 Backend server URL
npyReview.enabled true Enable/disable review
npyReview.debounceMs 1000 Debounce delay (ms)

Setup

1. Start the Backend

cd code-review-agent
pip install -r requirements.txt
set ANTHROPIC_API_KEY=your-api-key
python -m review_server.main

2. Install the Extension

  • Pack the extension: vsce package
  • Install the .vsix file in VS Code

Supported Rules

  • Naming Conventions — Class names (PascalCase), functions (snake_case), constants (UPPER_SNAKE_CASE)
  • Import Organization — Stdlib, third-party, local imports
  • Line Length — Under 100 characters (soft limit 120)
  • Docstrings — Public functions should have docstrings
  • No Print Statements — Use logging instead
  • Meaningful Variable Names — Descriptive and clear

Commands

  • NPy Review: Review File — Manually trigger a review of the current file

License

MIT

Related extensions