From e412bc0798e1ada2d610e56dcc6d0b6318dc1b0f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 26 Jan 2026 21:13:21 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.13 → v0.14.14](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.13...v0.14.14) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f65179eb686..434e192a919 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ minimum_pre_commit_version: "4.4.0" repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.14.13" + rev: "v0.14.14" hooks: - id: ruff-check args: ["--fix"] From 609d3f40fd8372b66be77ab36b6a593839d65a27 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Sun, 25 Jan 2026 09:49:06 +0100 Subject: [PATCH 2/2] [pylint configuration] Sort the disabled message alphabetically And remove duplicate. --- pyproject.toml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5956eff9f68..42e1812f080 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -217,31 +217,30 @@ disable = [ "comparison-with-callable", "comparison-with-itself", # PLR0124 from ruff "condition-evals-to-constant", - "consider-alternative-union-syntax", "confusing-consecutive-elif", + "consider-alternative-union-syntax", + "consider-ternary-expression", "consider-using-assignment-expr", "consider-using-dict-items", - "consider-using-from-import", + "consider-using-from-import", # not activated by default, PLR0402 disabled in ruff "consider-using-f-string", "consider-using-in", "consider-using-namedtuple-or-dataclass", "consider-using-ternary", "consider-using-tuple", "consider-using-with", - "consider-using-from-import", # not activated by default, PLR0402 disabled in ruff - "consider-ternary-expression", "cyclic-import", - "differing-param-doc", - "docstring-first-line-empty", "deprecated-argument", "deprecated-attribute", "deprecated-class", + "differing-param-doc", "disallowed-name", # foo / bar are used often in tests + "docstring-first-line-empty", "duplicate-code", "else-if-used", # not activated by default, PLR5501 disabled in ruff "empty-comment", # not activated by default, PLR2044 disabled in ruff - "eval-used", "eq-without-hash", # PLW1641 disabled in ruff + "eval-used", "exec-used", "expression-not-assigned", "fixme", @@ -258,13 +257,13 @@ disable = [ "line-too-long", "magic-value-comparison", # not activated by default, PLR2004 disabled in ruff "method-hidden", + "misplaced-bare-raise", # PLE0704 from ruff + "misplaced-comparison-constant", "missing-docstring", "missing-param-doc", "missing-raises-doc", "missing-timeout", "missing-type-doc", - "misplaced-bare-raise", # PLE0704 from ruff - "misplaced-comparison-constant", "multiple-statements", # multiple-statements-on-one-line-colon (E701) from ruff "no-else-break", "no-else-continue", @@ -329,10 +328,10 @@ disable = [ "use-dict-literal", "use-implicit-booleaness-not-comparison", "use-implicit-booleaness-not-len", - "use-set-for-membership", "useless-else-on-loop", # PLC0414 disabled in ruff "useless-import-alias", "useless-return", + "use-set-for-membership", "using-constant-test", "while-used", "wrong-import-order", # handled by isort / ruff