fix lint errors
This commit is contained in:
parent
cceb4c1dfb
commit
946d9dcf25
@ -8,7 +8,7 @@ import requests
|
|||||||
ROOT_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
ROOT_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||||
sys.path.append(ROOT_DIR)
|
sys.path.append(ROOT_DIR)
|
||||||
|
|
||||||
from api.utils import (
|
from api.utils import ( # noqa: E402
|
||||||
OPENAPI_URL,
|
OPENAPI_URL,
|
||||||
PROJECT_ID,
|
PROJECT_ID,
|
||||||
SERVER_URL,
|
SERVER_URL,
|
||||||
|
@ -293,7 +293,10 @@ class UnitTestsWorkflow:
|
|||||||
width = len(str(len(contexts)))
|
width = len(str(len(contexts)))
|
||||||
lines.extend(
|
lines.extend(
|
||||||
[
|
[
|
||||||
f"{(i + 1):>{width}}. {c.file_path}:{c.range.start.line + 1}-{c.range.end.line + 1}"
|
(
|
||||||
|
f"{(i + 1):>{width}}. {c.file_path}:"
|
||||||
|
f"{c.range.start.line + 1}-{c.range.end.line + 1}"
|
||||||
|
)
|
||||||
for i, c in enumerate(contexts)
|
for i, c in enumerate(contexts)
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user