chore: bump ruff to 0.6.8 for fixing violation in SIM910 (#8869)

This commit is contained in:
Bowen Liang 2024-09-29 00:29:59 +08:00 committed by GitHub
commit 74f58f29f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 27 additions and 27 deletions

View file

@ -22,8 +22,8 @@ class MockedHttp:
return response
# get data, files
data = kwargs.get("data", None)
files = kwargs.get("files", None)
data = kwargs.get("data")
files = kwargs.get("files")
if data is not None:
resp = dumps(data).encode("utf-8")
elif files is not None: