Python Pyupgrade Syntax Modernizer

Use pyupgrade to automatically upgrade Python syntax to newer versions. Activate when: (1) Migrating code from Python 2 to 3, (2) Removing deprecated syntax like 'class Foo(object)', (3) Converting old-style string formatting to f-strings, (4) Updating type hints to modern union syntax (X | Y), (5) Removing obsolete __future__ imports, or (6) Upgrading to a newer Python minimum version.

majiayu000 Updated 567 repo stars

File contents

majiayu000/claude-skill-registry-data/tree/main/data/python-pyupgrade-tool commit 53bfb000f4

Frequently asked questions

npx skillmds@latest add majiayu000/python-pyupgrade-syntax-modernizer