Incompatibility between pydrake and Mypy #18580
Labels
component: build system
Bazel, CMake, dependencies, memory checkers, linters
configuration: python
priority: medium
See #16987 for some background.
In our
pydrake
releases, we install*.pyi
files so that people who use VSCode will have auto-complete enabled.However, our
*.pyi
files are currently malformed in several ways, which means that if someone tries to runmypy
type checking withpydrake
in the loop, it will error out with syntax errors.The work-around for the moment is to delete the
*.pyi
files if you intent to usemypy
.(Details to follow.)
The text was updated successfully, but these errors were encountered: