python: Improve Basedpyright banner styles (#37802)

Just tidying this up a bit.

Release Notes:

- N/A
5934d3789bDanilo Leal committed on 9/8/2025, 9:51:13 PM· committed by GitHubparentacde79d
1 file changedLine totals unavailable