From 72ae169959a8bbd1130aee0d00b4c80e0e4c15a4 Mon Sep 17 00:00:00 2001 From: dhood Date: Sun, 17 Jun 2018 19:43:55 -0700 Subject: [PATCH] Remove trailing commas in __init__ signatures --- launch/launch/actions/execute_process.py | 2 +- launch/launch/actions/opaque_function.py | 2 +- launch/launch/actions/timer_action.py | 2 +- launch/launch/event_handler.py | 2 +- launch/launch/event_handlers/on_process_io.py | 2 +- launch/launch/events/process/running_process_event.py | 2 +- launch/launch/substitutions/launch_configuration.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/launch/launch/actions/execute_process.py b/launch/launch/actions/execute_process.py index 12c60d37f..5cbf62ef8 100644 --- a/launch/launch/actions/execute_process.py +++ b/launch/launch/actions/execute_process.py @@ -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. diff --git a/launch/launch/actions/opaque_function.py b/launch/launch/actions/opaque_function.py index a674dfadc..93def523c 100644 --- a/launch/launch/actions/opaque_function.py +++ b/launch/launch/actions/opaque_function.py @@ -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__() diff --git a/launch/launch/actions/timer_action.py b/launch/launch/actions/timer_action.py index 4565a5e14..c37d1db8d 100644 --- a/launch/launch/actions/timer_action.py +++ b/launch/launch/actions/timer_action.py @@ -55,7 +55,7 @@ class TimerAction(Action): def __init__( self, *, period: Union[float, SomeSubstitutionsType], - actions: Iterable[LaunchDescriptionEntity], + actions: Iterable[LaunchDescriptionEntity] ) -> None: """Constructor.""" super().__init__() diff --git a/launch/launch/event_handler.py b/launch/launch/event_handler.py index b8fe95eaa..078da25f5 100644 --- a/launch/launch/event_handler.py +++ b/launch/launch/event_handler.py @@ -39,7 +39,7 @@ def __init__( self, *, matcher: Callable[[Event], bool], - entities: Optional[SomeActionsType] = None, + entities: Optional[SomeActionsType] = None ) -> None: """ Constructor. diff --git a/launch/launch/event_handlers/on_process_io.py b/launch/launch/event_handlers/on_process_io.py index cf4241825..e005f27c6 100644 --- a/launch/launch/event_handlers/on_process_io.py +++ b/launch/launch/event_handlers/on_process_io.py @@ -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 diff --git a/launch/launch/events/process/running_process_event.py b/launch/launch/events/process/running_process_event.py index fc6de821d..604682558 100644 --- a/launch/launch/events/process/running_process_event.py +++ b/launch/launch/events/process/running_process_event.py @@ -39,7 +39,7 @@ def __init__( cmd: List[Text], cwd: Optional[Text], env: Optional[Dict[Text, Text]], - pid: int, + pid: int ) -> None: """ Constructor. diff --git a/launch/launch/substitutions/launch_configuration.py b/launch/launch/substitutions/launch_configuration.py index 78ef8fe26..aaf4793f3 100644 --- a/launch/launch/substitutions/launch_configuration.py +++ b/launch/launch/substitutions/launch_configuration.py @@ -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__()