Skip to content

Commit

Permalink
[pylint] update checker (#2992)
Browse files Browse the repository at this point in the history
* update

* add

* try adding tox.ini

* pylint tooling -internal fix

* rerun

---------

Co-authored-by: Yuchao Yan <[email protected]>
  • Loading branch information
l0lawrence and msyyc authored Jan 13, 2025
1 parent 6b4b039 commit 7aaa917
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 5 deletions.
8 changes: 8 additions & 0 deletions .chronus/changes/checkpylint-2025-0-7-9-44-5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
changeKind: internal
packages:
- "@autorest/python"
- "@azure-tools/typespec-python"
---

Updating pylint tooling
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ deps=
-r requirements.txt
-r ../../../../../eng/dev_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/"
pip install azure-pylint-guidelines-checker==0.5.0 --index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/"
python ../../../../../eng/scripts/run_pylint.py -t azure -g version-tolerant {posargs}

[testenv:mypy]
Expand Down
2 changes: 1 addition & 1 deletion packages/autorest.python/test/dpg/version-tolerant/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ deps=
-r requirements.txt
-r ../../../../../eng/dev_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/"
pip install azure-pylint-guidelines-checker==0.5.0 --index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/"
python ../../../../../eng/scripts/run_pylint.py -t dpg -g version-tolerant {posargs}

[testenv:mypy]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ deps=
-r requirements.txt
-r ../../../../../eng/dev_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/"
pip install azure-pylint-guidelines-checker==0.5.0 --index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/"
python ../../../../../eng/scripts/run_pylint.py -t vanilla -g version-tolerant {posargs}

[testenv:mypy]
Expand Down
2 changes: 1 addition & 1 deletion packages/typespec-python/test/azure/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ deps=
-r requirements.txt
-r ../../../../eng/dev_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/"
pip install azure-pylint-guidelines-checker==0.5.0 --index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/"
python ../../../../eng/scripts/run_pylint.py -p typespec-python -t azure -s "generated" {posargs}

[testenv:mypy]
Expand Down
2 changes: 1 addition & 1 deletion packages/typespec-python/test/unbranded/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ deps=
-r requirements.txt
-r ../../../../eng/dev_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/"
pip install azure-pylint-guidelines-checker==0.5.0 --index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/"
python ../../../../eng/scripts/run_pylint.py -p typespec-python -t unbranded -s "generated" {posargs}

[testenv:mypy]
Expand Down

0 comments on commit 7aaa917

Please sign in to comment.