python-code-quality

Automate Python code quality with ruff linting and ty type checking.

Updated Feb 25, 2026
One-click install
npx skills add https://github.com/Lilwenz/Geometry-Informed-Dual-Adaptive --skill python-code-quality-lilwenz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-code-quality
Source: https://github.com/Lilwenz/Geometry-Informed-Dual-Adaptive/tree/main/.agents/skills/python-code-quality
Command: npx skills add https://github.com/Lilwenz/Geometry-Informed-Dual-Adaptive --skill python-code-quality-lilwenz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Maintains consistent Python code quality across projects by combining linting, formatting, and type checking in a streamlined workflow.

Core Features & Use Cases

  • Ruff linting and formatting for Python code
  • Ty type checking to ensure type safety
  • Pyproject.toml configuration guidance and pre-commit hook integration

Quick Start

To get started, run uv run ruff check . and uv run ty check to lint and type-check your code.

Frequently Asked Questions about python-code-quality

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

FAQPage Schema
How do I automate Python linting and type checking together?

Automate Python linting and type checking by integrating ruff for formatting and ty for type checking within a streamlined workflow. This combination enforces consistent code quality rules across your project and CI pipelines.

What's the best way to configure ruff and ty for a Python project?

The best way to configure ruff and ty is through your pyproject.toml file. This centralizes your style and type enforcement rules, allowing both tools to read settings from a single configuration source.

How do I add ruff to pre-commit hooks for Python formatting?

Add ruff to pre-commit hooks by integrating it into your project's hook configuration to enforce Python formatting and linting automatically before commits. This maintains consistent code quality across your project.

Can I use this Python code quality workflow in a CI pipeline?

Yes, you can use this Python code quality workflow in a CI pipeline. The ruff linting and ty type checking integration applies to both individual projects and CI environments to enforce style and type rules.

Do I need to install ruff and ty separately for Python type checking and linting?

Yes, you need ruff and ty installed as dev-tools to perform Python type checking and linting. Once installed, you can execute checks using commands like uv run ruff check . and uv run ty check.