chore: apply ruff rules on tests and app.py (#3605)
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import os
|
||||
import pytest
|
||||
|
||||
from typing import Literal
|
||||
|
||||
import pytest
|
||||
from _pytest.monkeypatch import MonkeyPatch
|
||||
|
||||
from core.helper.code_executor.code_executor import CodeExecutor
|
||||
|
||||
MOCK = os.getenv('MOCK_SWITCH', 'false') == 'true'
|
||||
|
@@ -1,14 +1,14 @@
|
||||
import os
|
||||
from json import dumps
|
||||
from typing import Literal
|
||||
|
||||
import httpx._api as httpx
|
||||
import pytest
|
||||
import requests.api as requests
|
||||
import httpx._api as httpx
|
||||
from requests import Response as RequestsResponse
|
||||
from httpx import Request as HttpxRequest
|
||||
from yarl import URL
|
||||
|
||||
from typing import Literal
|
||||
from _pytest.monkeypatch import MonkeyPatch
|
||||
from json import dumps
|
||||
from httpx import Request as HttpxRequest
|
||||
from requests import Response as RequestsResponse
|
||||
from yarl import URL
|
||||
|
||||
MOCK = os.getenv('MOCK_SWITCH', 'false') == 'true'
|
||||
|
||||
|
Reference in New Issue
Block a user