The devel/pyupgrade port
pyupgrade-3.20.0 – automatically upgrade syntax for newer versions of Python (cvsweb github mirror)
Description
pyupgrade is a tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language. It handles an extensive range of legacy and deprecated features.WWW: https://github.com/asottile/pyupgrade
Maintainer
The OpenBSD ports mailing-list