Skip to content

Commit

Permalink
Fix warnings when using mypy>=1.8.0 (#16)
Browse files Browse the repository at this point in the history
Signed-off-by: Christophe Bedard <christophe.bedard@apex.ai>
  • Loading branch information
christophebedard authored Apr 24, 2024
1 parent d139a0f commit 760dca9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions tracetools_analysis/launch/lifecycle_states.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

"""Example launch file for a lifecycle node state analysis."""

from launch import LaunchDescription
import launch
from launch_ros.actions import Node
from tracetools_launch.action import Trace


def generate_launch_description():
return LaunchDescription([
return launch.LaunchDescription([
Trace(
session_name='lifecycle-node-state',
events_kernel=[],
Expand Down
4 changes: 2 additions & 2 deletions tracetools_analysis/launch/memory_usage.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@

"""Example launch file for a memory_usage analysis."""

from launch import LaunchDescription
import launch
from launch_ros.actions import Node
from tracetools_launch.action import Trace
from tracetools_trace.tools.names import DEFAULT_EVENTS_ROS


def generate_launch_description():
return LaunchDescription([
return launch.LaunchDescription([
Trace(
session_name='memory-usage',
events_ust=[
Expand Down
4 changes: 2 additions & 2 deletions tracetools_analysis/launch/pingpong.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

"""Example launch file for a callback duration analysis."""

from launch import LaunchDescription
import launch
from launch_ros.actions import Node
from tracetools_launch.action import Trace


def generate_launch_description():
return LaunchDescription([
return launch.LaunchDescription([
Trace(
session_name='pingpong',
events_kernel=[],
Expand Down
4 changes: 2 additions & 2 deletions tracetools_analysis/launch/profile.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@

"""Example launch file for a profiling analysis."""

from launch import LaunchDescription
import launch
from launch_ros.actions import Node
from tracetools_launch.action import Trace
from tracetools_trace.tools.names import DEFAULT_CONTEXT
from tracetools_trace.tools.names import DEFAULT_EVENTS_ROS


def generate_launch_description():
return LaunchDescription([
return launch.LaunchDescription([
Trace(
session_name='profile',
events_ust=[
Expand Down

0 comments on commit 760dca9

Please sign in to comment.