Skip to content

[regression] Mypy fails with shiny==1.0.0 #1649

@mccauleyp

Description

@mccauleyp

Seems like the same issue was fixed before but crept back in: #1332

Shiny is incompatible with mypy:

% mypy .
venv/lib/python3.11/site-packages/shiny/render/_data_frame_utils/_selection.py:154: error: invalid syntax  [syntax]
Found 1 error in 1 file (errors prevented further checking)

Unfortunately seems like it's not possible to edit one's mypy configuration to get past a syntax error in a dependency.

I'm working around it by just deleting line 154 of _selection.py for now.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions