qa-pipeline-automation

Run ruff, isort, mypy, and pytest checks in a QA pipeline.

3|Updated Nov 4, 2022
One-click install
npx skills add https://github.com/dousu/maou --skill qa-pipeline-automation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: qa-pipeline-automation
Source: https://github.com/dousu/maou/tree/main/.claude/skills/qa-pipeline-automation
Command: npx skills add https://github.com/dousu/maou --skill qa-pipeline-automation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ruff, isort, mypy, pytest, uv, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the comprehensive quality assurance process for code, ensuring it meets project standards for formatting, linting, import sorting, type checking, and testing before commits or pushes.

Core Features & Use Cases

  • Automated Code Quality Checks: Executes a full suite of tools including ruff, isort, mypy, and pytest.
  • Pre-commit Validation: Replicates the checks performed by pre-commit hooks to catch issues early.
  • Use Case: Before committing a new feature, run this Skill to guarantee your code is well-formatted, lint-free, correctly typed, and has passing tests, preventing CI failures and maintaining a clean codebase.

Quick Start

Execute the complete QA pipeline by running uv run ruff format src/ && uv run ruff check src/ --fix && uv run isort src/ && uv run mypy src/ && uv run pytest.

Frequently Asked Questions about qa-pipeline-automation

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

FAQPage Schema
How do I run pre-commit checks for ruff, mypy, and pytest together?

Run pre-commit checks by executing `uv run` commands sequentially to format code with ruff, lint, sort imports with isort, type check with mypy, and run pytest, ensuring full quality validation before committing.

What is automated QA pipeline testing for Python code?

Automated QA pipeline testing validates code readiness by running formatting, linting, import sorting, type checking, and pytest sequentially to prevent CI failures and maintain project quality standards.

Do I need uv installed to automate ruff and mypy code checks?

Yes, you need uv installed for environment management, along with specific tools like ruff, isort, mypy, and pytest, to execute the automated QA pipeline checks successfully.

What's the best way to ensure Python code quality before pushing?

The best way to ensure code quality is to run a full QA pipeline that formats with ruff, sorts imports with isort, checks types with mypy, and runs pytest to validate changes before pushing.

Why does my pre-commit pipeline fail when running type checking and formatting?

Pre-commit pipelines fail when type checking or formatting identifies issues; running the QA pipeline auto-fixes formatting with ruff and highlights mypy type errors to resolve before committing.