pyupgrade

Package — Code QualityPython 3.7+Intermediate

Auto-upgrade Python syntax to newer versions

Quick Info

Documentation
Official Docs
Python Version
3.7+
Dependencies
tokenize-rt
Install
pip install pyupgrade

Learn by Difficulty

Quick Example

python
# Install: pip install pyupgrade
import pyupgrade

# Basic pyupgrade usage
print(f"Using pyupgrade")
# See documentation for detailed examples

pyupgrade is a third-party package. Auto-upgrade Python syntax to newer versions. Install with: pip install pyupgrade

Try in Playground

Tags

packagecode-qualitylintingformatting