Run type checkers on examples
Author: bryevdvCreated Mar 13, 2025Updated Sep 23, 2026
Labelstype: tasktag: typingpython
For historical reasons we had never previously run type checkers on examples, however if we are going to be providing type stubs then it seems advised to run checking on them, with `mypy` and ideally `pyright` as well. Not so much to check the correctness of the example code (though that's part of it) but also as a check that the type stubs themselves are behaving well (e.g. to avoid the situation in #14412)
Source: bokeh/bokeh