Skip to content

Commit a69a118

Browse files
[pylint configuration] Sort the disabled message alphabetically
1 parent e412bc0 commit a69a118

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

pyproject.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -217,31 +217,31 @@ 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",
224225
"consider-using-from-import",
226+
"consider-using-from-import", # not activated by default, PLR0402 disabled in ruff
225227
"consider-using-f-string",
226228
"consider-using-in",
227229
"consider-using-namedtuple-or-dataclass",
228230
"consider-using-ternary",
229231
"consider-using-tuple",
230232
"consider-using-with",
231-
"consider-using-from-import", # not activated by default, PLR0402 disabled in ruff
232-
"consider-ternary-expression",
233233
"cyclic-import",
234-
"differing-param-doc",
235-
"docstring-first-line-empty",
236234
"deprecated-argument",
237235
"deprecated-attribute",
238236
"deprecated-class",
237+
"differing-param-doc",
239238
"disallowed-name", # foo / bar are used often in tests
239+
"docstring-first-line-empty",
240240
"duplicate-code",
241241
"else-if-used", # not activated by default, PLR5501 disabled in ruff
242242
"empty-comment", # not activated by default, PLR2044 disabled in ruff
243-
"eval-used",
244243
"eq-without-hash", # PLW1641 disabled in ruff
244+
"eval-used",
245245
"exec-used",
246246
"expression-not-assigned",
247247
"fixme",
@@ -258,13 +258,13 @@ disable = [
258258
"line-too-long",
259259
"magic-value-comparison", # not activated by default, PLR2004 disabled in ruff
260260
"method-hidden",
261+
"misplaced-bare-raise", # PLE0704 from ruff
262+
"misplaced-comparison-constant",
261263
"missing-docstring",
262264
"missing-param-doc",
263265
"missing-raises-doc",
264266
"missing-timeout",
265267
"missing-type-doc",
266-
"misplaced-bare-raise", # PLE0704 from ruff
267-
"misplaced-comparison-constant",
268268
"multiple-statements", # multiple-statements-on-one-line-colon (E701) from ruff
269269
"no-else-break",
270270
"no-else-continue",
@@ -329,10 +329,10 @@ disable = [
329329
"use-dict-literal",
330330
"use-implicit-booleaness-not-comparison",
331331
"use-implicit-booleaness-not-len",
332-
"use-set-for-membership",
333332
"useless-else-on-loop", # PLC0414 disabled in ruff
334333
"useless-import-alias",
335334
"useless-return",
335+
"use-set-for-membership",
336336
"using-constant-test",
337337
"while-used",
338338
"wrong-import-order", # handled by isort / ruff

0 commit comments

Comments
 (0)