`pyupgrade` is a tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language. More information on [ruff](https://docs.astral.sh/ruff/rules/#pyupgrade-up) and [PyPI](https://pypi.org/project/pyupgrade/). ```toml [tool.ruff.lint] select = ["E", "F", "N", "I", "UP"] ```