Skip to content

Commit ee943ef

Browse files
authored
docs: fix documented mypy version in tox (#36550)
1 parent 9094bc3 commit ee943ef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ sdist -> Builds a source distribution and runs tests
4747
additional environments:
4848
pylint -> Lints a package with a pinned version of pylint
4949
next-pylint -> Lints a package with pylint (version 2.15.8)
50-
mypy -> Typechecks a package with mypy (version 1.0.0)
50+
mypy -> Typechecks a package with mypy (version 1.9.0)
5151
next-mypy -> Typechecks a package with the latest version of mypy
5252
pyright -> Typechecks a package with pyright (version 1.1.287)
5353
next-pyright -> Typechecks a package with the latest version of static type-checker pyright

doc/dev/static_type_checking.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,15 +183,15 @@ environment run in CI and brings in the third party stub packages necessary. To
183183

184184
### Run mypy
185185

186-
mypy is currently pinned to version [1.0.0](https://pypi.org/project/mypy/1.0.0/).
186+
mypy is currently pinned to version [1.9.0](https://pypi.org/project/mypy/1.9.0/).
187187

188188
To run mypy on your library, run the tox mypy env at the package level:
189189

190190
`.../azure-sdk-for-python/sdk/textanalytics/azure-ai-textanalytics>tox run -e mypy -c ../../../eng/tox/tox.ini --root .`
191191

192192
If you don't want to use `tox` you can also install and run mypy on its own:
193193

194-
`pip install mypy==1.0.0`
194+
`pip install mypy==1.9.0`
195195

196196
`.../azure-sdk-for-python/sdk/textanalytics/azure-ai-textanalytics>mypy azure`
197197

0 commit comments

Comments
 (0)