Skip to content

Commit fc7a164

Browse files
authored
[lint] update pylint 2.9 (Azure#23850)
* update * disabling the final few pylint checkers from 2.9 that are causing issues * removing core run * updating to the latest version of pylint possible that still supports python 3.6.0 * updating python version that goes with 2.9.3 * verify all additional added checkers have been disabled * fixed naming issues * had to remove 2 disabled checkers that were new due to issues with cspell * removing core run * add simplifiable and evals * adding simplifiable and evals as words
1 parent 8dbb892 commit fc7a164

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.vscode/cspell.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@
155155
"encryptor",
156156
"engsys",
157157
"envname",
158+
"evals",
158159
"fileno",
159160
"fqdns",
160161
"fstat",
@@ -262,6 +263,7 @@
262263
"setfacl",
263264
"signalr",
264265
"signup",
266+
"simplifiable",
265267
"skipif",
266268
"skus",
267269
"southcentralus",

eng/test_tools.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ wrapt==1.12.1
3434

3535
# Locking pylint and required packages
3636
pylint==1.8.4; python_version < '3.4'
37-
pylint==2.5.2; python_version >= '3.4'
37+
pylint==2.9.3; python_version >= '3.6'
3838

3939
# python-dotenv
4040
python-dotenv==0.15.0

pylintrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ load-plugins=pylint_guidelines_checker
1414
# cyclic-import: because of https://github.com/PyCQA/pylint/issues/850
1515
# too-many-arguments: Due to the nature of the CLI many commands have large arguments set which reflect in large arguments set in corresponding methods.
1616
# Let's black deal with bad-continuation
17-
disable=useless-object-inheritance,missing-docstring,locally-disabled,fixme,cyclic-import,too-many-arguments,invalid-name,duplicate-code,too-few-public-methods,bad-continuation,check-docstrings,import-outside-toplevel
17+
18+
# Added disables from super-with-arguments
19+
disable=useless-object-inheritance,missing-docstring,locally-disabled,fixme,cyclic-import,too-many-arguments,invalid-name,duplicate-code,too-few-public-methods,bad-continuation,check-docstrings,import-outside-toplevel,super-with-arguments,raise-missing-from,inconsistent-return-statements,deprecated-module,use-a-generator,consider-using-max-builtin,consider-using-min-builtin,simplifiable-condition,condition-evals-to-constant,consider-using-dict-items,assigning-non-slot,consider-using-with,consider-using-generator,unused-private-member,deprecated-class,consider-using-from-import,ungrouped-imports,nan-comparison,ignored-arguments-name,empty-comment,deprecated-argument,deprecated-decorator,consider-using-dict-items,use-maxsplit-arg,unnecessary-dict-index-lookup,unused-private-member,invalid-class-object,invalid-all-format,await-outside-async
1820

1921
[FORMAT]
2022
max-line-length=120
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pylint==2.5.2
1+
pylint==2.9.3

0 commit comments

Comments
 (0)