Fix warnings when using mypy>=1.8.0 (#16)
Signed-off-by: Christophe Bedard <christophe.bedard@apex.ai>
This commit is contained in:
parent
d139a0f11b
commit
760dca9598
4 changed files with 8 additions and 8 deletions
|
@ -14,13 +14,13 @@
|
||||||
|
|
||||||
"""Example launch file for a lifecycle node state analysis."""
|
"""Example launch file for a lifecycle node state analysis."""
|
||||||
|
|
||||||
from launch import LaunchDescription
|
import launch
|
||||||
from launch_ros.actions import Node
|
from launch_ros.actions import Node
|
||||||
from tracetools_launch.action import Trace
|
from tracetools_launch.action import Trace
|
||||||
|
|
||||||
|
|
||||||
def generate_launch_description():
|
def generate_launch_description():
|
||||||
return LaunchDescription([
|
return launch.LaunchDescription([
|
||||||
Trace(
|
Trace(
|
||||||
session_name='lifecycle-node-state',
|
session_name='lifecycle-node-state',
|
||||||
events_kernel=[],
|
events_kernel=[],
|
||||||
|
|
|
@ -14,14 +14,14 @@
|
||||||
|
|
||||||
"""Example launch file for a memory_usage analysis."""
|
"""Example launch file for a memory_usage analysis."""
|
||||||
|
|
||||||
from launch import LaunchDescription
|
import launch
|
||||||
from launch_ros.actions import Node
|
from launch_ros.actions import Node
|
||||||
from tracetools_launch.action import Trace
|
from tracetools_launch.action import Trace
|
||||||
from tracetools_trace.tools.names import DEFAULT_EVENTS_ROS
|
from tracetools_trace.tools.names import DEFAULT_EVENTS_ROS
|
||||||
|
|
||||||
|
|
||||||
def generate_launch_description():
|
def generate_launch_description():
|
||||||
return LaunchDescription([
|
return launch.LaunchDescription([
|
||||||
Trace(
|
Trace(
|
||||||
session_name='memory-usage',
|
session_name='memory-usage',
|
||||||
events_ust=[
|
events_ust=[
|
||||||
|
|
|
@ -14,13 +14,13 @@
|
||||||
|
|
||||||
"""Example launch file for a callback duration analysis."""
|
"""Example launch file for a callback duration analysis."""
|
||||||
|
|
||||||
from launch import LaunchDescription
|
import launch
|
||||||
from launch_ros.actions import Node
|
from launch_ros.actions import Node
|
||||||
from tracetools_launch.action import Trace
|
from tracetools_launch.action import Trace
|
||||||
|
|
||||||
|
|
||||||
def generate_launch_description():
|
def generate_launch_description():
|
||||||
return LaunchDescription([
|
return launch.LaunchDescription([
|
||||||
Trace(
|
Trace(
|
||||||
session_name='pingpong',
|
session_name='pingpong',
|
||||||
events_kernel=[],
|
events_kernel=[],
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
"""Example launch file for a profiling analysis."""
|
"""Example launch file for a profiling analysis."""
|
||||||
|
|
||||||
from launch import LaunchDescription
|
import launch
|
||||||
from launch_ros.actions import Node
|
from launch_ros.actions import Node
|
||||||
from tracetools_launch.action import Trace
|
from tracetools_launch.action import Trace
|
||||||
from tracetools_trace.tools.names import DEFAULT_CONTEXT
|
from tracetools_trace.tools.names import DEFAULT_CONTEXT
|
||||||
|
@ -22,7 +22,7 @@ from tracetools_trace.tools.names import DEFAULT_EVENTS_ROS
|
||||||
|
|
||||||
|
|
||||||
def generate_launch_description():
|
def generate_launch_description():
|
||||||
return LaunchDescription([
|
return launch.LaunchDescription([
|
||||||
Trace(
|
Trace(
|
||||||
session_name='profile',
|
session_name='profile',
|
||||||
events_ust=[
|
events_ust=[
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue