Skip to content

Commit 609d3f4

Browse files
[pylint configuration] Sort the disabled message alphabetically
And remove duplicate.
1 parent e412bc0 commit 609d3f4

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

pyproject.toml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -217,31 +217,30 @@ disable = [
217217
"comparison-with-callable",
218218
"comparison-with-itself", # PLR0124 from ruff
219219
"condition-evals-to-constant",
220-
"consider-alternative-union-syntax",
221220
"confusing-consecutive-elif",
221+
"consider-alternative-union-syntax",
222+
"consider-ternary-expression",
222223
"consider-using-assignment-expr",
223224
"consider-using-dict-items",
224-
"consider-using-from-import",
225+
"consider-using-from-import", # not activated by default, PLR0402 disabled in ruff
225226
"consider-using-f-string",
226227
"consider-using-in",
227228
"consider-using-namedtuple-or-dataclass",
228229
"consider-using-ternary",
229230
"consider-using-tuple",
230231
"consider-using-with",
231-
"consider-using-from-import", # not activated by default, PLR0402 disabled in ruff
232-
"consider-ternary-expression",
233232
"cyclic-import",
234-
"differing-param-doc",
235-
"docstring-first-line-empty",
236233
"deprecated-argument",
237234
"deprecated-attribute",
238235
"deprecated-class",
236+
"differing-param-doc",
239237
"disallowed-name", # foo / bar are used often in tests
238+
"docstring-first-line-empty",
240239
"duplicate-code",
241240
"else-if-used", # not activated by default, PLR5501 disabled in ruff
242241
"empty-comment", # not activated by default, PLR2044 disabled in ruff
243-
"eval-used",
244242
"eq-without-hash", # PLW1641 disabled in ruff
243+
"eval-used",
245244
"exec-used",
246245
"expression-not-assigned",
247246
"fixme",
@@ -258,13 +257,13 @@ disable = [
258257
"line-too-long",
259258
"magic-value-comparison", # not activated by default, PLR2004 disabled in ruff
260259
"method-hidden",
260+
"misplaced-bare-raise", # PLE0704 from ruff
261+
"misplaced-comparison-constant",
261262
"missing-docstring",
262263
"missing-param-doc",
263264
"missing-raises-doc",
264265
"missing-timeout",
265266
"missing-type-doc",
266-
"misplaced-bare-raise", # PLE0704 from ruff
267-
"misplaced-comparison-constant",
268267
"multiple-statements", # multiple-statements-on-one-line-colon (E701) from ruff
269268
"no-else-break",
270269
"no-else-continue",
@@ -329,10 +328,10 @@ disable = [
329328
"use-dict-literal",
330329
"use-implicit-booleaness-not-comparison",
331330
"use-implicit-booleaness-not-len",
332-
"use-set-for-membership",
333331
"useless-else-on-loop", # PLC0414 disabled in ruff
334332
"useless-import-alias",
335333
"useless-return",
334+
"use-set-for-membership",
336335
"using-constant-test",
337336
"while-used",
338337
"wrong-import-order", # handled by isort / ruff

0 commit comments

Comments
 (0)