If you want to replace flake8 (E/F codes), isort, and pyupgrade with ruff, use this config for pyproject.toml:
[tool.ruff]select = ["E", "F", "I", "UP"]