From dafc6956937849133a8b9106bec51c94eb6a7c23 Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Tue, 1 Dec 2026 13:11:31 +0100 Subject: [PATCH] Enable the "mutable-override" error code --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 3d8040f..9643082 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -474,6 +474,8 @@ enable_error_code = [ "deprecated", # Require an error code in all "# type: ignore" comments "ignore-without-code", + # Report overrides of mutable attributes with incompatible types + "mutable-override", ] # Check further edge cases that are rarely an issue in practice