lint

Runs ruff linting and mypy static type checks on Python codebases.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/maminul007/trading-platform --skill lint-maminul007
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lint
Source: https://github.com/maminul007/trading-platform/tree/main/.claude/skills/lint
Command: npx skills add https://github.com/maminul007/trading-platform --skill lint-maminul007

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates code quality checks, ensuring consistency and catching potential errors before they become issues.

Core Features & Use Cases

  • Code Linting: Uses ruff to enforce style guides and identify code smells.
  • Type Checking: Employs mypy for static analysis of Python type hints.
  • Use Case: Before committing code, run /lint --fix --mypy to automatically correct style violations and verify type correctness across your project.

Quick Start

Run code quality checks with ruff and mypy.

Frequently Asked Questions about lint

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Python code quality checks for linting and type checking?

Python code quality checks combine ruff for linting style violations and mypy for static type checking to enforce coding standards and reduce runtime errors.

Can I automatically fix linting issues in my Python codebase?

Yes, you can automatically fix linting issues in a Python codebase by running the linter with the fix flag to correct identified style violations.

What is the best way to check Python type hints before committing code?

Checking Python type hints before committing is best done using mypy for static analysis, verifying type correctness and catching potential errors early.

Does this linting process support targeted path analysis for specific directories?

Yes, the linting process supports targeted path analysis, allowing you to run ruff and mypy checks on specific directories or files within your Python project.

Why should I use ruff and mypy together for Python code quality?

Using ruff and mypy together ensures comprehensive Python code quality by addressing both style enforcement to catch code smells and static type safety to prevent runtime errors.