This MR integrates the use of ruff into our workflow.
It updates all files to match setup rules. See pyproject.toml for supported rules and documentation.
pyproject.toml