0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-13 17:33:32 +01:00

Enable 'strict_equality' checking for mypy (#14452)

This commit is contained in:
Andrew Morgan 2022-11-17 18:34:09 +00:00 committed by GitHub
parent 01a0527892
commit ae22e6e94f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

1
changelog.d/14452.misc Normal file
View file

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

View file

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