Skip to content

Commit cab9486

Browse files
bump pyright version to match version used in autorest (Azure#28272)
* bump pyright version to match version used in autorest * update doc - thanks paul!
1 parent 1773a14 commit cab9486

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc/dev/static_type_checking.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Full documentation on mypy config options found here: https://mypy.readthedocs.i
211211

212212
### Run pyright
213213

214-
We pin the version of pyright to version [1.1.274](https://github.com/microsoft/pyright).
214+
We pin the version of pyright to version [1.1.287](https://github.com/microsoft/pyright).
215215

216216
Note that pyright requires that node is installed. The command-line [wrapper package](https://pypi.org/project/pyright/) for pyright will check if node is in the `PATH`, and if not, will download it at runtime.
217217

@@ -221,7 +221,7 @@ To run pyright on your library, run the tox pyright env at the package level:
221221

222222
If you don't want to use `tox` you can also install and run pyright on its own:
223223

224-
`pip install pyright==1.1.274`
224+
`pip install pyright==1.1.287`
225225

226226
`.../azure-sdk-for-python/sdk/textanalytics/azure-ai-textanalytics>pyright azure`
227227

@@ -253,7 +253,7 @@ To run verifytypes on your library, run the tox verifytypes env at the package l
253253

254254
If you don't want to use `tox` you can also install and run pyright/verifytypes on its own:
255255

256-
`pip install pyright==1.1.274`
256+
`pip install pyright==1.1.287`
257257

258258
`.../azure-sdk-for-python/sdk/textanalytics/azure-ai-textanalytics>pyright --verifytypes azure.ai.textanalytics --ignoreexternal`
259259

eng/tox/tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ setenv =
129129
PROXY_URL=http://localhost:5018
130130
deps =
131131
{[base]deps}
132-
pyright==1.1.274
132+
pyright==1.1.287
133133
commands =
134134
{envbindir}/python {toxinidir}/../../../eng/tox/create_package_and_install.py \
135135
-d {distdir} \
@@ -148,7 +148,7 @@ setenv =
148148
PROXY_URL=http://localhost:5019
149149
deps =
150150
{[base]deps}
151-
pyright==1.1.274
151+
pyright==1.1.287
152152
commands =
153153
{envbindir}/python {toxinidir}/../../../eng/tox/run_verifytypes.py -t {toxinidir}
154154

0 commit comments

Comments
 (0)