Skip to content

Commit e039644

Browse files
authored
Jan Tox Updates (Azure#39087)
* bumps for pylint * mypy/pyright * remove * next-
1 parent 7131a69 commit e039644

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

eng/pylintrc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ load-plugins=pylint_guidelines_checker
2121
# Let's black deal with bad-continuation
2222

2323
# Added disables from super-with-arguments
24-
disable=useless-object-inheritance,missing-docstring,locally-disabled,fixme,cyclic-import,too-many-arguments,invalid-name,duplicate-code,too-few-public-methods,consider-using-f-string,super-with-arguments,redefined-builtin,import-outside-toplevel,client-suffix-needed,unnecessary-dunder-call,unnecessary-ellipsis,client-paging-methods-use-list,consider-using-max-builtin,too-many-lines
25-
26-
# Add enable for useless disables
27-
enable=useless-suppression
24+
disable=useless-object-inheritance,missing-docstring,locally-disabled,fixme,cyclic-import,too-many-arguments,invalid-name,duplicate-code,too-few-public-methods,consider-using-f-string,super-with-arguments,redefined-builtin,import-outside-toplevel,client-suffix-needed,unnecessary-dunder-call,unnecessary-ellipsis,client-paging-methods-use-list,consider-using-max-builtin,too-many-lines,possibly-used-before-assignment
2825

2926

3027
[FORMAT]

eng/tox/tox.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ commands =
7777

7878
[testenv:pylint]
7979
description=Lints a package with pylint (version {[testenv:pylint]pylint_version})
80-
pylint_version=3.2.5
80+
pylint_version=3.2.7
8181
skipsdist = true
8282
skip_install = true
8383
usedevelop = false
@@ -116,7 +116,7 @@ deps =
116116
PyGitHub>=1.59.0
117117
commands =
118118
python -m pip install pylint=={[testenv:next-pylint]pylint_version}
119-
python -m 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/"
119+
python -m 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/"
120120
python {repository_root}/eng/tox/create_package_and_install.py \
121121
-d {envtmpdir}/dist \
122122
-p {tox_root} \
@@ -145,7 +145,7 @@ commands =
145145

146146
[testenv:mypy]
147147
description=Typechecks a package with mypy (version {[testenv:mypy]mypy_version})
148-
mypy_version=1.10.1
148+
mypy_version=1.13.0
149149
skipsdist = true
150150
skip_install = true
151151
usedevelop = true
@@ -170,7 +170,7 @@ commands =
170170

171171
[testenv:next-mypy]
172172
description=Typechecks a package with the latest version of mypy
173-
mypy_version=1.13.0
173+
mypy_version=1.14.1
174174
skipsdist = true
175175
skip_install = true
176176
usedevelop = true
@@ -197,7 +197,7 @@ commands =
197197

198198
[testenv:pyright]
199199
description=Typechecks a package with pyright (version {[testenv:pyright]pyright_version})
200-
pyright_version=1.1.371
200+
pyright_version=1.1.389
201201
skipsdist = true
202202
skip_install = true
203203
usedevelop = true
@@ -219,7 +219,7 @@ commands =
219219

220220
[testenv:next-pyright]
221221
description=Typechecks a package with the latest version of static type-checker pyright
222-
pyright_version=1.1.389
222+
pyright_version=1.1.391
223223
skipsdist = true
224224
skip_install = true
225225
usedevelop = true

pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ load-plugins=pylint_guidelines_checker
2121
# Let's black deal with bad-continuation
2222

2323
# Added disables from super-with-arguments
24-
disable=useless-object-inheritance,missing-docstring,locally-disabled,fixme,cyclic-import,too-many-arguments,invalid-name,duplicate-code,too-few-public-methods,consider-using-f-string,super-with-arguments,redefined-builtin,import-outside-toplevel,client-suffix-needed,unnecessary-dunder-call,unnecessary-ellipsis,client-paging-methods-use-list,docstring-keyword-should-match-keyword-only,docstring-type-do-not-use-class,consider-using-max-builtin,too-many-lines,possibly-used-before-assignment
24+
disable=useless-object-inheritance,missing-docstring,locally-disabled,fixme,cyclic-import,too-many-arguments,invalid-name,duplicate-code,too-few-public-methods,consider-using-f-string,super-with-arguments,redefined-builtin,import-outside-toplevel,client-suffix-needed,unnecessary-dunder-call,unnecessary-ellipsis,client-paging-methods-use-list,docstring-type-do-not-use-class,consider-using-max-builtin,too-many-lines,possibly-used-before-assignment
2525

2626
[FORMAT]
2727
max-line-length=120

0 commit comments

Comments
 (0)