bneradt opened a new pull request, #14024: URL: https://github.com/apache/trafficserver/pull/14024
Python formatting on 9.2.x still relies on YAPF, while master now uses Ruff. Keeping the branches on different formatters makes backports of Python changes conflict on formatting alone, and the 9.2.x YAPF wrapper also has to build and maintain its own virtualenv. This patch backports the tooling portion of #13643: it replaces the YAPF wrapper, configuration, and ignore file with a pinned Ruff 0.16.6 wrapper and ruff.toml run through uv, and points the make format target and the pre-commit hook at Ruff. The resulting reformatting of the tree follows in a separate commit. This is kept as two commits: the tooling change, then the mechanical Ruff run over the tree. Please merge (not squash) to preserve them. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
