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

Use yaml types #781

Open
wants to merge 1 commit into
base: rolling
Choose a base branch
from
Open

Conversation

InvincibleRMC
Copy link

I notice yaml was given a #type: ignore but that is no longer necessary with python3-types-pyaml

Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
Copy link

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

lgtm.

having accurate type annotations helps type checkers with python3-types-pyyaml, we do not need to have type hinting directive to ignore any type checking for yaml anymore.

@fujitatomoya
Copy link

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@fujitatomoya
Copy link

@InvincibleRMC
Copy link
Author

Strange it cannot find types-pyaml error: Library stubs not installed for "yaml" [import-untyped]

@InvincibleRMC
Copy link
Author

Hmm I might be wrong but looking at this we might need to add the install in ros2ci itself.

@InvincibleRMC
Copy link
Author

Made a pr over at ros2/ci#781 to hopefully address this problem.

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.

None yet

3 participants