Skip to content

Commit d227c59

Browse files
committed
fix: formatter
1 parent 7233931 commit d227c59

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

scripts/cts/runCts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ async function runCtsOne(language: Language, suites: Record<CTSType, boolean>):
9292
);
9393
break;
9494
case 'python':
95-
await run(`poetry lock && poetry install --sync && poetry run pytest -vv ${filter((f) => `tests/${f}`)}`, {
95+
await run(`poetry lock && poetry sync && poetry run pytest -vv ${filter((f) => `tests/${f}`)}`, {
9696
cwd,
9797
language,
9898
});

scripts/formatter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export async function formatter(language: string, cwd: string): Promise<void> {
5454
break;
5555
case 'python':
5656
await run(
57-
'poetry lock && poetry install --sync && pip freeze > requirements.txt && poetry run ruff check --fix --unsafe-fixes && poetry run ruff format',
57+
'poetry lock && poetry sync --no-root && pip freeze > requirements.txt && poetry run ruff check --fix --unsafe-fixes && poetry run ruff format',
5858
{ cwd, language },
5959
);
6060
if (!cwd.includes('tests')) {

scripts/playground.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export async function playground({ language, client }: { language: AllLanguage;
3434
await run(`php ${client}.php`, { cwd: 'playground/php/src', language });
3535
break;
3636
case 'python':
37-
await run(`poetry lock && poetry install --sync && poetry run ${client}`, {
37+
await run(`poetry lock && poetry sync && poetry run ${client}`, {
3838
cwd: 'playground/python',
3939
language,
4040
});

0 commit comments

Comments
 (0)