Skip to content

v0.1.0 - Initial Release

Latest

Choose a tag to compare

@pratikmandge pratikmandge released this 22 Jun 15:46

🐍 Python Lint Fixer v0.1.0 - Initial Release

A comprehensive VS Code extension for Python linting and formatting with custom rules designed to maintain consistent code style across your Python projects.

✨ Features

🔧 Code Formatting

  • Quote Standardization: Converts double quotes to single quotes (except in docstrings and complex keys)
  • Import Organization: Groups imports into system, external, and project imports with proper spacing
  • Spacing Enforcement: Ensures consistent spacing before classes and methods
  • Line Wrapping: Automatically wraps lines exceeding 85 characters while respecting Python syntax
  • File Endings: Ensures all files end with a blank line

🎯 Smart Import Management

  • Deduplication: Removes duplicate imports automatically
  • Grouping: Organizes imports into logical groups:
    • System imports (built-in Python modules)
    • External imports (third-party packages)
    • Project imports (local modules)
  • Spacing: Adds proper spacing between import groups

⚡ Quick Access

  • Keyboard Shortcut: Ctrl+Shift+Q for instant file formatting
  • Status Bar Button: One-click formatting from the status bar
  • Context Menu: Right-click to format current file
  • Command Palette: Access all formatting commands

🔍 Real-time Diagnostics

  • Visual Feedback: Green highlights for formatting suggestions
  • Hover Messages: Detailed explanations of formatting changes
  • Non-intrusive: Suggestions don't block your workflow

🚀 Installation

  1. Download the .vsix file from this release
  2. In VS Code, go to Extensions (Ctrl+Shift+X)
  3. Click the "..." menu and select "Install from VSIX..."
  4. Choose the downloaded file and install

🎮 Usage

Quick Format

  • Press Ctrl+Shift+Q while in a Python file
  • Or click the "Fix Python" button in the status bar

Workspace Format

  • Use Command Palette: Python Lint Fixer: Fix All Python Files in Workspace

Configuration

Customize the extension behavior in VS Code settings:

  • pythonLintFixer.maxLineLength: Set maximum line length (default: 85)
  • pythonLintFixer.enableQuotesFix: Toggle quote standardization
  • pythonLintFixer.enableImportSort: Toggle import sorting
  • pythonLintFixer.enableSpacingFix: Toggle spacing fixes

�� What's Included

  • VSIX Package: Ready-to-install extension file
  • Comprehensive Documentation: README, USAGE_GUIDE, and INSTALLATION guides
  • MIT License: Open source and free to use
  • Brand Assets: Logo and demo GIF

🔧 Technical Details

  • Language: TypeScript
  • VS Code API: v1.60.0+
  • Python Support: Full Python syntax awareness
  • Performance: Optimized for large files and workspaces

🎯 Perfect For

  • Python developers who want consistent code formatting
  • Teams requiring standardized code style
  • Projects with specific formatting requirements
  • Anyone who wants to automate Python code cleanup

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.


Download the .vsix file above and start formatting your Python code with style! 🚀