What problem does it solve?
This Skill standardizes Python development, ensuring high-quality, maintainable code with consistent style, type safety, and robust testing.
Core Features & Use Cases
- Modern Python: Leverage the latest language features and
uv for efficient package management.
- Type Hinting: Enforce strong typing for clarity and error prevention, avoiding
Any.
- Pytest Patterns: Implement powerful, parametrized tests for comprehensive coverage.
- Use Case: When starting a new Python project or contributing to an existing one, this Skill ensures your code adheres to best practices, reducing bugs and improving collaboration.
Quick Start
import pytest
@pytest.mark.parametrize(
("input_value", "expected"),
[
("hello", "HELLO"),
("world", "WORLD"),
],
)
def test_uppercase(input_value: str, expected: str) -> None:
assert my_function(input_value) == expected