Skip to content

Conversation

@aryansanganti
Copy link

Fixes #829

  • Changed typing.List[str] to list[str] in Ros2Context.init
  • Follows PEP 585 for modern Python type hints
  • Verified with ruff check --select UP (all checks pass) Note: experimental-inspect was tested by multiple contributors and confirmed not to work for auto-generating stubs.

Fixes dora-rs#829
- Changed typing.List[str] to list[str] in Ros2Context.__init__
- Follows PEP 585 for modern Python type hints
- Verified with ruff check --select UP (all checks pass)
Note: experimental-inspect was tested by multiple contributors
and confirmed not to work for auto-generating stubs.
@haixuanTao
Copy link
Collaborator

I think this is an autogenerated file. Could you make the modification within the rust code. You should be able to sed it :)

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.

Use pyo3 experimental-inspect instead of generate_stubs.py

2 participants