Skip to content

Commit 798b290

Browse files
authored
Fix missing dependency of the workflow on pyright (#322)
Changes: * Added missing dependency on pyright in Azure/GCP's dev dependency groups * Fixed the github token used to publish the pull request
1 parent c5b6051 commit 798b290

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/update_speakeasy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
- name: Install dependencies
4040
run: |
41-
uv sync --group dev --no-default-groups
41+
uv sync --group dev --group lint --no-default-groups
4242
4343
- name: Install Speakeasy CLI
4444
run: |
@@ -102,7 +102,7 @@ jobs:
102102
--label speakeasy-update \
103103
--assignee ${{ github.actor }}
104104
env:
105-
GITHUB_TOKEN: ${{ secrets.SPEAKEASY_WORKFLOW_GITHUB_PAT }}
105+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
106106

107107
- name: Comment on workflow run
108108
if: steps.check-changes.outputs.has_changes == 'false'

packages/mistralai_azure/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ dependencies = [
1515
dev = [
1616
"mypy==1.15.0",
1717
"pylint==3.2.3",
18+
"pyright>=1.1.401,<2",
1819
"pytest>=8.2.2,<9",
1920
"pytest-asyncio>=0.23.7,<0.24",
2021
]

packages/mistralai_gcp/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ dependencies = [
1919
dev = [
2020
"mypy==1.14.1",
2121
"pylint==3.2.3",
22+
"pyright>=1.1.401,<2",
2223
"pytest>=8.2.2,<9",
2324
"pytest-asyncio>=0.23.7,<0.24",
2425
"types-python-dateutil>=2.9.0.20240316,<3",

0 commit comments

Comments
 (0)