Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have proto2ros mypy checks follow imports silently #8

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

mhidalgo-bdai
Copy link
Collaborator

Proposed changes

https://build.ros2.org/job/Hdev__proto2ros__ubuntu_jammy_amd64/1 came out unstable because mypy is type-checking (and failing the type-check on) core packages such as rclpy. I cannot reproduce locally, so I suspect a difference in mypy versions. Either way, we should not be signaling errors in upstream packages. This patch avoids this.

Checklist

  • Lint and unit tests pass locally
  • I have added tests that prove my changes are effective
  • I have added necessary documentation to communicate the changes

Copy link

@khughes-bdai khughes-bdai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mhidalgo-bdai mhidalgo-bdai merged commit 46d3ff9 into main Dec 6, 2024
4 checks passed
@mhidalgo-bdai mhidalgo-bdai deleted the mhidalgo-bdai/silent-mypy-imports branch December 6, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants