-
Notifications
You must be signed in to change notification settings - Fork 52
Static typing for Message, Services, and Actions #206
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
Open
InvincibleRMC
wants to merge
86
commits into
ros2:rolling
Choose a base branch
from
InvincibleRMC:message-types
base: rolling
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
86 commits
Select commit
Hold shift + click to select a range
f81e023
explicit export and py.typed
InvincibleRMC 2f99351
Fix line lengths
InvincibleRMC 05761d8
Fix hanging indent
InvincibleRMC 9807b07
Improve typing
InvincibleRMC 288ba5d
Fix subscription error
InvincibleRMC 9aad27a
Tests complete
InvincibleRMC 2822852
Fewer flake8
InvincibleRMC 118b9ef
Fix typing import error
InvincibleRMC af91451
Update _msg.py.em
InvincibleRMC 153a6d7
Constructor typing refactor
InvincibleRMC 6a147a7
Update _msg.py.em
InvincibleRMC 946381a
remove structure_needs_at_least_one_member
InvincibleRMC 956fe0a
Add actual numpy type annotations
InvincibleRMC ae98901
Add None
InvincibleRMC 8d06b8c
Add types to __prepare__ args
InvincibleRMC ad14966
Default type annotations
InvincibleRMC 48def6b
Constant type annotations
InvincibleRMC 8458b38
Type constants
InvincibleRMC 9f80bcc
SLOT_TYPES type
InvincibleRMC 4b2f72c
small refactor
InvincibleRMC a412da2
Add Protocol
InvincibleRMC 86d8a97
Blank lines for flake8
InvincibleRMC 5d839f4
Remove Literal for better 3.6 support
InvincibleRMC 1aef88a
Better return types
InvincibleRMC 468c8f5
Move TYPE_CHECKING import
InvincibleRMC 432a9dc
or syntax
InvincibleRMC 5397591
Merge branch 'rolling' into message-types
InvincibleRMC af7463a
Literal Clean up
InvincibleRMC bb4ca22
remove forward reference
InvincibleRMC b0667d2
remove string wrapper
InvincibleRMC 3fca5b1
replace quotes with '
InvincibleRMC 4a8fdf3
add mypy test
InvincibleRMC 68629fa
add mypy test
InvincibleRMC f1d38a7
resolve truthy assert
InvincibleRMC a5b8d41
move Literal import
InvincibleRMC 1886955
update string literals
InvincibleRMC d3acf35
fix Literal float
InvincibleRMC 9d10ab5
Add some types into rosidl_generator_py
InvincibleRMC 33d126a
type_support import
InvincibleRMC 829c25b
remove file
InvincibleRMC 9b95b02
fix byte litearls
InvincibleRMC 010db3f
remove ovveride
InvincibleRMC ffc1b37
fix __prepare__
InvincibleRMC 5752835
fix metacls
InvincibleRMC ad8fd40
remove ByteString from isinstance
InvincibleRMC e7a2ed6
import error
InvincibleRMC f1966c7
switch typing improt
InvincibleRMC 95c8e52
move Literal import
InvincibleRMC 375cc73
match getter and setter
InvincibleRMC 576fe24
fix numpy types
InvincibleRMC 381d1e1
resolve all()
InvincibleRMC 41cc561
fix mypy error
InvincibleRMC 6e357c3
type ignore around mypy#3004
InvincibleRMC dd5c3e9
revert specifc getter type
InvincibleRMC b6bc52c
Use Any to avoid mypy#3004
InvincibleRMC 30bdff4
Merge branch 'rolling' into message-types
InvincibleRMC 9ef82ee
remove some unneeded Any types
InvincibleRMC 554d98e
Merge branch 'ros2:rolling' into message-types
InvincibleRMC 1582363
Update rosidl_generator_py/resource/_msg.py.em
InvincibleRMC f8df11f
Update rosidl_generator_py/resource/_msg.py.em
InvincibleRMC 79f101c
feedback changes
InvincibleRMC 6554f57
remove extra if
InvincibleRMC 1edbf9a
Add missing py.typed
InvincibleRMC 494bab6
if @(member.name) is not None else
sloretz 6ba0242
remove duplicated imports
InvincibleRMC d272ce4
Add proper NoReturn type for Srv/Action
InvincibleRMC 8ce75c7
Merge branch 'ros2:rolling' into message-types
InvincibleRMC 44105a5
Merge branch 'ros2:rolling' into message-types
InvincibleRMC 989ad8c
Add type ignore to avoid rosidl_generator_py duplicate error
InvincibleRMC 504eea2
Merge branch 'ros2:rolling' into message-types
InvincibleRMC 806bae0
Clean up for new base Python 3.9
InvincibleRMC 93cad4a
refactor functions into generate_py_impl
InvincibleRMC d97e4c0
Avoid naming collisions
InvincibleRMC 0427f1d
remove unused line
InvincibleRMC 89786f4
respond to feedback
InvincibleRMC 5e908a2
remove comments
InvincibleRMC 9f8ece7
simplify check
InvincibleRMC 2b46b9f
address feedback
InvincibleRMC 98081ed
Update rosidl_generator_py/cmake/rosidl_generator_py_generate_interfa…
InvincibleRMC 56ad7a2
Update rosidl_generator_py/rosidl_generator_py/generate_py_impl.py
InvincibleRMC f37af3d
move commet and use parens for if
InvincibleRMC ad01db6
fix nested single quotes in python3.9
InvincibleRMC eaad412
Add type ignore on srv/action __init__ methods
InvincibleRMC dfba71e
add specilization in test case
InvincibleRMC 86b9ff5
add context around type ignore
InvincibleRMC edbc37c
add type ignores for empty list + list[T]
InvincibleRMC File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.