Ren de la Cruz
Results
2
issues of
Ren de la Cruz
**Bug Report** In the global scope, mypy allows destructuring any object in `match case` with `object(x=y)`: ```py @dataclass class A: id: int # SUCCESS match A(id=5): case object(id=object_id): print(object_id) ```...
bug
topic-match-statement
It would be great to support mypy's `--enable-error-code` flag, to support some optional checks that don't have their own flag. Error codes: https://mypy.readthedocs.io/en/stable/error_code_list2.html#check-that-expression-is-redundant-redundant-expr. This includes very useful error codes like:...