You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With Textual 0.86.3 at least mypy and upright are reporting textual.app.RenderResult as being an invalid type. For example:
is flagged via pyright, and while type checking an application of mine mypy complains:
rye run mypy --scripts-are-modules --strict src/
src/quizzical/app/widgets/logo.py:38: error: Variable "textual.app.RenderResult" is not valid as a type [valid-type]
src/quizzical/app/widgets/logo.py:38: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
src/quizzical/app/widgets/question_counts.py:68: error: Variable "textual.app.RenderResult" is not valid as a type [valid-type]
src/quizzical/app/widgets/question_counts.py:68: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
Found 2 errors in 2 files (checked 25 source files)
make: *** [stricttypecheck] Error 1
With Textual 0.86.3 at least
mypy
andupright
are reportingtextual.app.RenderResult
as being an invalid type. For example:is flagged via
pyright
, and while type checking an application of minemypy
complains:Textual Diagnostics
Versions
Python
Operating System
Terminal
Rich Console options
The text was updated successfully, but these errors were encountered: