Enable 'strict_equality' checking for mypy (#14452)

1.103.0-whithout-watcha
Andrew Morgan 2 years ago committed by GitHub
parent 01a0527892
commit ae22e6e94f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      changelog.d/14452.misc
  2. 1
      mypy.ini

@ -0,0 +1 @@
Enable mypy's [`strict_equality` check](https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-strict-equality) by default.

@ -11,6 +11,7 @@ warn_unused_ignores = True
local_partial_types = True local_partial_types = True
no_implicit_optional = True no_implicit_optional = True
disallow_untyped_defs = True disallow_untyped_defs = True
strict_equality = True
files = files =
docker/, docker/,

Loading…
Cancel
Save