Skip to content

Python Quality Checks

Runs complete quality checks for Python projects following sp_theory standards.

Usage

# Run all checks
python-quality check

# Run specific check
python-quality format
python-quality lint
python-quality types
python-quality test

# Fix issues automatically
python-quality fix

Checks Performed

  • Format: Code formatting with ruff
  • Lint: Code linting with ruff
  • Types: Type checking with pyright
  • Test: Unit tests with pytest
  • Coverage: Test coverage reporting

Requirements

  • uv package manager
  • pyproject.toml with dev dependencies