File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
pipelines/templates/steps Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -181,15 +181,15 @@ environment run in CI and brings in the third party stub packages necessary. To
181181
182182### Run mypy
183183
184- mypy is currently pinned to version [ 0.931 ] ( https://pypi.org/project/mypy/0.931 / ) .
184+ mypy is currently pinned to version [ 1.0.0 ] ( https://pypi.org/project/mypy/1.0.0 / ) .
185185
186186To run mypy on your library, run the tox mypy env at the package level:
187187
188188` .../azure-sdk-for-python/sdk/textanalytics/azure-ai-textanalytics>tox -e mypy -c ../../../eng/tox/tox.ini `
189189
190190If you don't want to use ` tox ` you can also install and run mypy on its own:
191191
192- ` pip install mypy==0.931 `
192+ ` pip install mypy==1.0.0 `
193193
194194` .../azure-sdk-for-python/sdk/textanalytics/azure-ai-textanalytics>mypy azure `
195195
Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ parameters:
1212# Please use `$(TargetingString)` to refer to the python packages glob string. This was previously `${{ parameters.BuildTargetingString }}`.
1313steps :
1414 - task : UsePythonVersion@0
15- displayName : ' Use Python 3.10 '
15+ displayName : ' Use Python 3.7 '
1616 inputs :
17- versionSpec : ' 3.10 '
17+ versionSpec : ' 3.7 '
1818 condition : and(succeededOrFailed(), ne(variables['Skip.MyPy'],'true'))
1919
2020 - script : |
Original file line number Diff line number Diff line change 5454 "-m" ,
5555 "mypy" ,
5656 "--python-version" ,
57- "3.10 " ,
57+ "3.7 " ,
5858 "--show-error-codes" ,
5959 "--ignore-missing-imports" ,
6060 ]
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ setenv =
125125 PROXY_URL =http://localhost:5003
126126deps =
127127 {[base]deps}
128- mypy ==0.931
128+ mypy ==1.0.0
129129 types-chardet ==4.0.3
130130 types-requests ==2.27.9
131131 types-six ==1.16.10
You can’t perform that action at this time.
0 commit comments