possible mypy regression introduced by 10.2.x #1243
-
Once rich 10.2.0 was released mypy started to fail with an error like:
The line is just a console.print(...) does not appear to do anything wrong. I tried to replicate the issue with a single file but I failed, it seems to be related to the fact that The code seems to work fine with 10.2, only mypy seems to become upset. I did not raise a bug because I am not sure that is a real bug in rich. Note that ceiling rich |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I'd put |
Beta Was this translation helpful? Give feedback.
I'd put
reveal_type(console)
andreveal_type(console.print)
to see what Mypy thinks those objects are.