Skip to content

Commit d0b497b

Browse files
committed
no type checking in tests
1 parent e335bc4 commit d0b497b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/formatter.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,12 @@ export async function formatter(language: string, cwd: string): Promise<void> {
5151
break;
5252
case 'python':
5353
await run(
54-
`poetry lock --no-update && poetry install --sync && pip freeze > requirements.txt && poetry run ruff check --fix --unsafe-fixes && poetry run ruff format${cwd.includes('clients') ? ' && poetry run pyright' : ''}`,
54+
'poetry lock --no-update && poetry install --sync && pip freeze > requirements.txt && poetry run ruff check --fix --unsafe-fixes && poetry run ruff format',
5555
{ cwd, language },
5656
);
57+
if (!cwd.includes('tests')) {
58+
await run('poetry run pyright', { cwd, language });
59+
}
5760
break;
5861
case 'ruby':
5962
await run('bundle install', { cwd, language });

0 commit comments

Comments
 (0)