mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-28 23:20:09 +03:00
Enable 'strict_equality' checking for mypy (#14452)
This commit is contained in:
parent
01a0527892
commit
ae22e6e94f
2 changed files with 2 additions and 0 deletions
1
changelog.d/14452.misc
Normal file
1
changelog.d/14452.misc
Normal 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.
|
1
mypy.ini
1
mypy.ini
|
@ -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…
Reference in a new issue