chore: apply ruff rules on tests and app.py (#3605)
This commit is contained in:
parent
d5448e07ab
commit
d9b821cecc
92 changed files with 383 additions and 181 deletions
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue