From 4e8b260583ff55276c82d420681c18fad9a335c2 Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Thu, 11 Apr 2024 09:45:44 -0400 Subject: [PATCH] mypy: enable strict equality checking This helps detect bugs in the code. (It also helps encourage better-structured code, see I256c080c8 which this spawned.) Change-Id: Ie7ddb100e4fdfa3dd95fcb1a46704df10e77f7ca Signed-off-by: Eric Harney --- setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.cfg b/setup.cfg index 76fb79d170f..5d0d34336a0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -139,6 +139,7 @@ show_error_codes = true pretty = true html_report = mypy-report no_implicit_optional = true +strict_equality = true [options] packages = cinder