python-linting

Community

Automate Python code quality with Ruff and Pyright.

Authorrandalmurphal
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines Python code quality by leveraging modern tools like Ruff (for linting and formatting) and Pyright (for type checking). It helps developers quickly identify and fix style issues, simple bugs, and critical type errors, ensuring consistent, high-quality, and maintainable Python code.

Core Features & Use Cases

  • Comprehensive Code Quality: Covers style, formatting, simple bugs (Ruff) and type safety, attribute errors, None-safety (Pyright).
  • Blazing Fast Execution: Replaces multiple slower tools (Pylint, Black, Mypy) with a combined 20-40x speed improvement.
  • Configuration & Troubleshooting: Provides guidance on ruff.toml and pyrightconfig.json setup, common error patterns, and suppression techniques.
  • Use Case: Automatically analyze a Python codebase for linting and type errors, generate a report of violations, and suggest auto-fix commands using Ruff to quickly resolve issues.

Quick Start

Use the python-linting skill to check the current Python project for linting and type errors, then suggest commands to auto-fix them.

Dependency Matrix

Required Modules

ruffpyright

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: python-linting
Download link: https://github.com/randalmurphal/claude-config/archive/main.zip#python-linting

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository