Skip to content

Commit

Permalink
Remove trailing commas in __init__ signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
dhood committed Jun 18, 2018
1 parent 4f4c69e commit 72ae169
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion launch/launch/actions/execute_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def __init__(
sigkill_timeout: SomeSubstitutionsType = LaunchConfiguration('sigkill_timeout', default=5),
prefix: Optional[SomeSubstitutionsType] = None,
output: Optional[Text] = None,
log_cmd: bool = False,
log_cmd: bool = False
) -> None:
"""
Construct an ExecuteProcess action.
Expand Down
2 changes: 1 addition & 1 deletion launch/launch/actions/opaque_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(
self, *,
function: Callable,
args: Optional[Iterable[Any]] = None,
kwargs: Optional[Dict[Text, Any]] = None,
kwargs: Optional[Dict[Text, Any]] = None
) -> None:
"""Constructor."""
super().__init__()
Expand Down
2 changes: 1 addition & 1 deletion launch/launch/actions/timer_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class TimerAction(Action):
def __init__(
self, *,
period: Union[float, SomeSubstitutionsType],
actions: Iterable[LaunchDescriptionEntity],
actions: Iterable[LaunchDescriptionEntity]
) -> None:
"""Constructor."""
super().__init__()
Expand Down
2 changes: 1 addition & 1 deletion launch/launch/event_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(
self,
*,
matcher: Callable[[Event], bool],
entities: Optional[SomeActionsType] = None,
entities: Optional[SomeActionsType] = None
) -> None:
"""
Constructor.
Expand Down
2 changes: 1 addition & 1 deletion launch/launch/event_handlers/on_process_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(
target_action: Optional['ExecuteProcess'] = None,
on_stdin: Callable[[ProcessIO], Optional[SomeActionsType]] = None,
on_stdout: Callable[[ProcessIO], Optional[SomeActionsType]] = None,
on_stderr: Callable[[ProcessIO], Optional[SomeActionsType]] = None,
on_stderr: Callable[[ProcessIO], Optional[SomeActionsType]] = None
) -> None:
"""Constructor."""
from ..actions import ExecuteProcess # noqa
Expand Down
2 changes: 1 addition & 1 deletion launch/launch/events/process/running_process_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(
cmd: List[Text],
cwd: Optional[Text],
env: Optional[Dict[Text, Text]],
pid: int,
pid: int
) -> None:
"""
Constructor.
Expand Down
2 changes: 1 addition & 1 deletion launch/launch/substitutions/launch_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __init__(
self,
variable_name: SomeSubstitutionsType,
*,
default: Optional[Union[Any, Iterable[Any]]] = None,
default: Optional[Union[Any, Iterable[Any]]] = None
) -> None:
"""Constructor."""
super().__init__()
Expand Down

0 comments on commit 72ae169

Please sign in to comment.