From 1633547a1b0541aac38c0b68bb0bd8f8c639460c Mon Sep 17 00:00:00 2001 From: Sam Bull Date: Tue, 12 Aug 2025 00:01:42 +0100 Subject: [PATCH] Enable exhaustive-match in mypy (#11409) --- .mypy.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mypy.ini b/.mypy.ini index a4e914e757d..4d5c2eaaf09 100644 --- a/.mypy.ini +++ b/.mypy.ini @@ -11,7 +11,7 @@ disallow_untyped_calls = True disallow_untyped_decorators = True disallow_untyped_defs = True # TODO(PY312): explicit-override -enable_error_code = deprecated, ignore-without-code, possibly-undefined, redundant-expr, redundant-self, truthy-bool, truthy-iterable, unused-awaitable +enable_error_code = deprecated, exhaustive-match, ignore-without-code, possibly-undefined, redundant-expr, redundant-self, truthy-bool, truthy-iterable, unused-awaitable extra_checks = True follow_untyped_imports = True implicit_reexport = False