File tree Expand file tree Collapse file tree
packages/http-client-python Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7373 & pip list
7474
7575 Invoke-LoggedCommand " npm run ci"
76+
77+ # Step 4: Run lint/mypy/pyright on generated SDK code (Linux only)
78+ if ($IsLinux ) {
79+ Write-Host " `n === Running lint on generated SDK code ===" - ForegroundColor Cyan
80+ Invoke-LoggedCommand " npm run lint:generated"
81+
82+ Write-Host " `n === Running type checks on generated SDK code ===" - ForegroundColor Cyan
83+ Invoke-LoggedCommand " npm run typecheck:generated"
84+ } else {
85+ Write-Host " `n Skipping generated SDK lint/typecheck on Windows." - ForegroundColor Yellow
86+ }
87+
7688 Write-Host " All tests passed." - ForegroundColor Green
7789 }
7890}
Original file line number Diff line number Diff line change 4646 "typecheck" : " tsx ./eng/scripts/ci/typecheck.ts" ,
4747 "typecheck:generated" : " tsx ./eng/scripts/ci/typecheck.ts --generated" ,
4848 "regenerate" : " tsx ./eng/scripts/ci/regenerate.ts" ,
49- "ci" : " npm run test && npm run lint && npm run typecheck && npm run lint:generated && npm run typecheck:generated " ,
49+ "ci" : " npm run test && npm run lint && npm run typecheck" ,
5050 "ci:generated" : " tsx ./eng/scripts/ci/run-tests.ts --generator --env=ci" ,
5151 "change:version" : " pnpm chronus version --ignore-policies --only @typespec/http-client-python" ,
5252 "change:add" : " pnpm chronus add" ,
You can’t perform that action at this time.
0 commit comments