pyupgrade (pypi): A tool to automatically upgrade syntax for newer versions.
Keywords: linter|pre-commit|python