Skip to content

Commit 6f5b831

Browse files
committed
Fixed flake8 issues with line length
1 parent 0a85193 commit 6f5b831

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Linters and formatters
3737
run: |
3838
black --check .
39-
flake8 .
39+
flake8 . --max-line-length=140
4040
pylint .
4141
4242
# Run unit tests with PyTest

ros2_ws/src/slam/launch/slam_launch.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from launch.substitutions import LaunchConfiguration, PathJoinSubstitution
66
from launch_ros.actions import Node
77
from launch_ros.substitutions import FindPackageShare
8-
import os
98

109

1110
def generate_launch_description():
@@ -22,7 +21,9 @@ def generate_launch_description():
2221
)
2322

2423
resolution_arg = DeclareLaunchArgument(
25-
"resolution", default_value="0.05", description="Resolution for occupancy grid"
24+
"resolution",
25+
default_value="0.05",
26+
description="Resolution for occupancy grid",
2627
)
2728

2829
publish_period_arg = DeclareLaunchArgument(
@@ -83,7 +84,12 @@ def generate_launch_description():
8384
)
8485

8586
# RViz2 node
86-
rviz_node = Node(package="rviz2", executable="rviz2", name="rviz2", output="screen")
87+
rviz_node = Node(
88+
package="rviz2",
89+
executable="rviz2",
90+
name="rviz2",
91+
output="screen",
92+
)
8793

8894
return LaunchDescription(
8995
[

0 commit comments

Comments
 (0)