Skip to content

Commit ae22e6e

Browse files
Enable 'strict_equality' checking for mypy (#14452)
1 parent 01a0527 commit ae22e6e

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)