python-lint-format

Automate Python code linting and formatting with pre-commit hooks.

1|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/owenlamont/agent_skills --skill python-lint-format
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-lint-format
Source: https://github.com/owenlamont/agent_skills/tree/main/skills/python-lint-format
Command: npx skills add https://github.com/owenlamont/agent_skills --skill python-lint-format

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ruff, mypy, complexipy, rumdl, ryl, typos, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the linting and formatting process in Python projects, ensuring code quality and consistency.

Core Features & Use Cases

  • Linting and Formatting: Checks and refactors Python code using various tools like Ruff, mypy, and more.
  • Pre-commit Hook Integration: Supports integration with pre-commit hooks for automatic checks before code is committed.
  • Use Case: Before pushing code to a repository, you can run this Skill to ensure that your code meets the project's linting and formatting standards.

Quick Start

Run the prek run --all-files command to perform linting and formatting on all files in your project.

Frequently Asked Questions about python-lint-format

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

FAQPage Schema
How do I automate Python linting and formatting before committing code?

You can automate Python linting and formatting by integrating this Skill into a pre-commit hook, which checks code quality and consistency using tools like Ruff and mypy before code is committed. Run `prek run --all-files` to validate your project.

What's the best way to run multiple Python linters across an entire project?

The best way to run multiple Python linters is using a unified pre-commit hook command. This Skill orchestrates a suite of tools including Ruff, mypy, complexipy, and typos to check and refactor all files in your project simultaneously.

Does this Python formatting tool support type checking with mypy?

Yes, this Python formatting tool supports type checking with mypy. It is designed to integrate mypy alongside other linters and formatters within a pre-commit hook to ensure comprehensive code quality and consistency.

Can I use Ruff for both linting and formatting in a pre-commit hook?

Yes, you can use Ruff for both linting and formatting within a pre-commit hook. This Skill leverages Ruff and other dependencies to automate code checks and refactoring before code is committed to the repository.

Why should I use pre-commit hooks for Python code quality checks?

You should use pre-commit hooks for Python code quality checks to enforce standards automatically before code is committed. This prevents inconsistent formatting and linting errors from entering your repository, ensuring baseline quality.

Does this automated linting process check for code complexity and typos?

Yes, the automated linting process checks for code complexity and typos. It includes complexipy for complexity analysis and typos for spell checking, alongside Ruff and mypy, to ensure thorough code quality validation.