format-python - Automatically Format Python Code with Black
Format Python code using the Black code formatter
Tags
Updated: 2026-02-13Capabilities
Typical Inputs
Typical Outputs
What this skill does
- standardize indentation (4 spaces)
- limit line length (88 characters)
- unify string quotes
- normalize brackets and commas
- format import statements
Inputs
- Python code files
- Black formatter
- Python 3.8+ environment
Outputs
- formatted Python code files
- formatting report
Requirements
- Python 3.8+ installed
- Black 22.0+ installed
