-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[python] prepare publish pipeline (#4495)
Co-authored-by: iscai-msft <[email protected]>
- Loading branch information
1 parent
a8e1d43
commit 690109c
Showing
158 changed files
with
141 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ges/http-client-python/test/utils.test.ts → ...-client-python/emitter/test/utils.test.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
[tox] | ||
envlist=base, lint, mypy, pyright, apiview | ||
skipsdist=True | ||
|
||
[testenv:ci] | ||
deps= | ||
-r requirements.txt | ||
commands = | ||
# pytest | ||
pytest mock_api_tests ../generic_mock_api_tests | ||
|
||
# pylint | ||
pip install azure-pylint-guidelines-checker==0.4.1 --index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" | ||
python ../../../eng/scripts/ci/run_pylint.py -t azure -s "generated" {posargs} | ||
|
||
# mypy | ||
python ../../../eng/scripts/ci/run_mypy.py -t azure -s "generated" {posargs} | ||
|
||
# pyright | ||
python ../../../eng/scripts/ci/run_pyright.py -t azure -s "generated" {posargs} | ||
|
||
# apiview | ||
; pip install apiview-stub-generator==0.3.12 --index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" | ||
; python ../../../eng/scripts/ci/run_apiview.py -t azure -s "generated" {posargs} | ||
|
||
[testenv:test] | ||
deps= | ||
-r requirements.txt | ||
commands = | ||
pytest mock_api_tests ../generic_mock_api_tests | ||
|
||
[testenv:lint] | ||
deps= | ||
-r requirements.txt | ||
commands = | ||
pip install azure-pylint-guidelines-checker==0.4.1 --index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" | ||
python ../../../eng/scripts/ci/run_pylint.py -t azure -s "generated" {posargs} | ||
|
||
[testenv:mypy] | ||
deps= | ||
-r requirements.txt | ||
commands = | ||
python ../../../eng/scripts/ci/run_mypy.py -t azure -s "generated" {posargs} | ||
|
||
[testenv:pyright] | ||
deps= | ||
-r requirements.txt | ||
commands = | ||
python ../../../eng/scripts/ci/run_pyright.py -t azure -s "generated" {posargs} | ||
|
||
[testenv:apiview] | ||
deps= | ||
-r requirements.txt | ||
commands = | ||
pip install apiview-stub-generator==0.3.12 --index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" | ||
python ../../../eng/scripts/ci/run_apiview.py -t azure -s "generated" {posargs} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
packages/http-client-python/generator/test/unbranded/tox.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
[tox] | ||
envlist=base, lint, mypy, pyright, apiview | ||
skipsdist=True | ||
|
||
[testenv:ci] | ||
deps= | ||
-r requirements.txt | ||
commands = | ||
# pytest | ||
pytest mock_api_tests ../generic_mock_api_tests | ||
|
||
# pylint | ||
pip install azure-pylint-guidelines-checker==0.4.1 --index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" | ||
python ../../../eng/scripts/ci/run_pylint.py -t unbranded -s "generated" {posargs} | ||
|
||
# mypy | ||
python ../../../eng/scripts/ci/run_mypy.py -t unbranded -s "generated" {posargs} | ||
|
||
# pyright | ||
python ../../../eng/scripts/ci/run_pyright.py -t unbranded -s "generated" {posargs} | ||
|
||
# apiview | ||
; pip install apiview-stub-generator==0.3.12 --index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" | ||
; python ../../../eng/scripts/ci/run_apiview.py -t unbranded -s "generated" {posargs} | ||
|
||
[testenv:test] | ||
deps= | ||
-r requirements.txt | ||
commands = | ||
pytest mock_api_tests ../generic_mock_api_tests | ||
|
||
[testenv:lint] | ||
deps= | ||
-r requirements.txt | ||
commands = | ||
pip install azure-pylint-guidelines-checker==0.4.1 --index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" | ||
python ../../../eng/scripts/ci/run_pylint.py -t unbranded -s "generated" {posargs} | ||
|
||
[testenv:mypy] | ||
deps= | ||
-r requirements.txt | ||
commands = | ||
python ../../../eng/scripts/ci/run_mypy.py -t unbranded -s "generated" {posargs} | ||
|
||
[testenv:pyright] | ||
deps= | ||
-r requirements.txt | ||
commands = | ||
python ../../../eng/scripts/ci/run_pyright.py -t unbranded -s "generated" {posargs} | ||
|
||
[testenv:apiview] | ||
deps= | ||
-r requirements.txt | ||
commands = | ||
pip install apiview-stub-generator==0.3.12 --index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" | ||
python ../../../eng/scripts/ci/run_apiview.py -t unbranded -s "generated" {posargs} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.