chore: apply ruff E501 line-too-long linter rule (#8275)

Co-authored-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
Bowen Liang 2024-09-12 14:00:36 +08:00 committed by GitHub
commit c69f5b07ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
85 changed files with 459 additions and 324 deletions

View file

@ -89,7 +89,8 @@ class CodeExecutor:
raise CodeExecutionError("Code execution service is unavailable")
elif response.status_code != 200:
raise Exception(
f"Failed to execute code, got status code {response.status_code}, please check if the sandbox service is running"
f"Failed to execute code, got status code {response.status_code},"
f" please check if the sandbox service is running"
)
except CodeExecutionError as e:
raise e