From d99e2d5a3a56e732ecb2a1d2085cb46a62351537 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 13 Apr 2021 10:10:53 -0700 Subject: [PATCH] mypy: Enable strict_equality. Signed-off-by: Anders Kaseorg --- mypy.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mypy.ini b/mypy.ini index 8f2469ceb6..35e9144b14 100644 --- a/mypy.ini +++ b/mypy.ini @@ -23,7 +23,7 @@ warn_redundant_casts = True warn_unused_ignores = True warn_return_any = False no_implicit_reexport = False -strict_equality = False +strict_equality = True # Display the codes needed for # type: ignore[code] annotations. show_error_codes = True