We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3ab819 commit af645a9Copy full SHA for af645a9
scripts/formatter.ts
@@ -51,7 +51,7 @@ export async function formatter(language: string, cwd: string): Promise<void> {
51
break;
52
case 'python':
53
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 && poetry run pyright',
+ `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' : ''}`,
55
{ cwd, language },
56
);
57
0 commit comments