bneradt opened a new pull request, #14023: URL: https://github.com/apache/trafficserver/pull/14023
Python formatting on 10.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 YAPF's whole-tree run is slower and carries a large style configuration. 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, and points the CMake format target, the pre-commit hook, and the CI format script 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]
