python-coding-standards

Community

Automate Python quality, build clean, robust applications.

Authorwilliamzujkowski
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill provides a definitive guide to Python coding standards, ensuring your projects are clean, maintainable, and production-ready. It automates the enforcement of PEP 8, type hints, and robust pytest testing, reducing bugs and improving developer efficiency.

Core Features & Use Cases

  • PEP 8 Compliance: Integrates Black and isort to automatically apply PEP 8 formatting and import organization.
  • Type Safety with mypy: Guides on using type hints for all public interfaces and complex functions to catch errors early.
  • Pytest Best Practices: Offers patterns for writing comprehensive tests with fixtures, parametrization, and coverage.
  • Use Case: Initialize a new Python project by applying these standards, automatically configuring Black, isort, mypy, and pytest to ensure all code adheres to consistent, high-quality standards from the start.

Quick Start

Generate a pytest test file for a Python function, including fixtures and parametrized test cases.

Dependency Matrix

Required Modules

pydanticpydantic-settingspytestpytest-covpytest-asynciopytest-mockblackisortmypyruffpre-commitbanditpylint

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: python-coding-standards
Download link: https://github.com/williamzujkowski/standards/archive/main.zip#python-coding-standards

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository