ruff Ruff is an extremely fast Python linter and code formatter. It replaces Flake8, isort, Black, pyupgrade, autoflake, and dozens of other tools. When to use ruff Always use ruff for Python linting and formatting , especially if you see: - section in - A or configuration file However, avoid making unnecessary changes: - Don't format unformatted code - If shows changes throughout an entire file, the project likely isn't using ruff for formatting. Skip formatting to avoid obscuring actual changes. - Scope fixes to code being edited - Use to see fixes relevant to the code you're changing. Only…