Skip to content

Commit 8973fef

Browse files
authored
[Linting]: Update .pylintrc to Reflect Pylint 2.6++ Deprecations (exercism#3167)
As of Pylint `2.6++`, there have been rule deprecations and a few Python feature deprecations. When upgrading our tooling to use Python `3.10.6`, we forgot some of these deprecations in this `.pylintrc` file and they will toss errors with the version of Pylint we are using. This edit should fix that problem.
1 parent 04831cd commit 8973fef

File tree

1 file changed

+11
-19
lines changed

1 file changed

+11
-19
lines changed

pylintrc

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -57,51 +57,43 @@ confidence=
5757
# --enable=similarities". If you want to run only the classes checker, but have
5858
# no Warning level messages displayed, use"--disable=all --enable=classes
5959
# --disable=W"
60-
# inconsistent-return-statements,
60+
# As of Pylint 2.6+, the following options are not supported, so they're commented out:
61+
#
62+
# misplaced-comparison-constant
63+
# relative-import
64+
# input-builtin
65+
# inconsistent-return-statements
66+
# no-absolute-import
67+
# raising-string
68+
# round-builtin
69+
6170
disable=arguments-differ,
6271
attribute-defined-outside-init,
63-
duplicate-code,
64-
filter-builtin-not-iterating,
6572
fixme,
6673
global-statement,
6774
implicit-str-concat-in-sequence,
6875
import-error,
6976
import-self,
70-
input-builtin,
7177
locally-disabled,
72-
misplaced-comparison-constant,
73-
missing-class-docstring,
74-
missing-function-docstring,
75-
missing-module-docstring,
76-
no-absolute-import,
7778
no-else-break,
7879
no-else-continue,
7980
no-else-raise,
8081
no-else-return,
8182
no-member,
8283
no-name-in-module,
83-
no-self-use,
84-
raising-string,
85-
relative-import,
86-
round-builtin,
8784
signature-differs,
8885
suppressed-message,
89-
too-few-public-methods,
90-
too-many-ancestors,
91-
too-many-arguments,
9286
too-many-boolean-expressions,
9387
too-many-branches,
94-
too-many-instance-attributes,
9588
too-many-locals,
96-
too-many-nested-blocks,
9789
too-many-public-methods,
9890
too-many-return-statements,
9991
too-many-statements,
10092
unnecessary-pass,
10193
unused-argument,
102-
unused-import,
10394
useless-suppression
10495

96+
10597
[REPORTS]
10698

10799
# Set the output format. Available formats are text, parseable, colorized, msvs

0 commit comments

Comments
 (0)