Bump ruff to 0.4.2 (#116201)

* Bump ruff to 0.4.2

* review comments
This commit is contained in:
Sid 2024-04-26 08:48:32 +02:00 committed by GitHub
parent 623d34e1e0
commit e662e3b65c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 86 additions and 77 deletions

View file

@ -9,4 +9,4 @@ def random_uuid_hex() -> str:
This uuid should not be used for cryptographically secure
operations.
"""
return "%032x" % getrandbits(32 * 4)
return f"{getrandbits(32 * 4):032x}"