Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 42121f6

Browse files
anoadragon453H-Shay
authored andcommitted
Enable 'strict_equality' checking for mypy (#14452)
1 parent fe83f1b commit 42121f6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

changelog.d/14452.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Enable mypy's [`strict_equality` check](https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-strict-equality) by default.

mypy.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ warn_unused_ignores = True
1111
local_partial_types = True
1212
no_implicit_optional = True
1313
disallow_untyped_defs = True
14+
strict_equality = True
1415

1516
files =
1617
docker/,

0 commit comments

Comments
 (0)