Python Pyupgrade Syntax Modernizer
CommunityAuto-upgrade Python syntax with pyupgrade.
AuthorFlexNetOS
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Upgrading Python projects to modern syntax is error-prone and time-consuming; pyupgrade automates the process, applying safe syntax enhancements automatically.
Core Features & Use Cases
- Version-targeted upgrades: Configure minimum Python versions (3.6+ to 3.14+) to apply appropriate syntax changes.
- Safe transformations: Conservative changes designed to preserve behavior while modernizing code.
- Pre-commit integration: Easily run as a pre-commit hook to enforce modern syntax across a repository.
- Comprehensive coverage: Handles strings, type hints, imports, class definitions, and common Python constructs.
- Use Case: Migrate a mixed Python 2/3 codebase to a clean, modern subset that supports current runtimes.
Quick Start
Run pyupgrade on your Python files to apply the recommended syntax upgrades for your target Python version.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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 Pyupgrade Syntax Modernizer Download link: https://github.com/FlexNetOS/ripple-env/archive/main.zip#python-pyupgrade-syntax-modernizer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.