Skip to content

Move code from examples tests#15

Merged
esteve merged 1 commit intomasterfrom
refactor
Nov 24, 2015
Merged

Move code from examples tests#15
esteve merged 1 commit intomasterfrom
refactor

Conversation

@esteve
Copy link
Copy Markdown
Member

@esteve esteve commented Nov 21, 2015

Extracted code from the examples tests so that it can be reused more easily.

Connects to ros2/ros2#143

@esteve esteve added in progress Actively being worked on (Kanban column) in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Nov 21, 2015
@esteve esteve self-assigned this Nov 21, 2015
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please pass keyword arguments with the keyword.

Same below.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Done.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

if instead of elif.

Same below.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Done.

@esteve esteve force-pushed the refactor branch 2 times, most recently from b9c6e07 to 92a17f8 Compare November 23, 2015 18:46
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Function lacks return statement.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

All functions return None by default

@dirk-thomas
Copy link
Copy Markdown
Member

Please lint the code.

@esteve
Copy link
Copy Markdown
Member Author

esteve commented Nov 23, 2015

Linters enabled and the code passes them.

@esteve
Copy link
Copy Markdown
Member Author

esteve commented Nov 23, 2015

@dirk-thomas
Copy link
Copy Markdown
Member

lgtm.

esteve added a commit that referenced this pull request Nov 24, 2015
Move code from examples tests
@esteve esteve merged commit 597b238 into master Nov 24, 2015
@esteve esteve removed the in review Waiting for review (Kanban column) label Nov 24, 2015
@esteve esteve deleted the refactor branch November 24, 2015 00:27
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Duplicate line removed in 3b4ea2e.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Thanks!

wjwwood pushed a commit that referenced this pull request Mar 20, 2019
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