Skip to content

Commit

Permalink
CI: Fix ament_flake8 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Aug 29, 2024
1 parent 971fe13 commit d36aef7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .ament_flake8.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[flake8]
extend-ignore = B902,C816,D100,D101,D102,D103,D104,D105,D106,D107,D203,D212,D404,I202,Q000
import-order-style = google
max-line-length = 99
show-source = true
statistics = true
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ if(BUILD_TESTING)
set(ament_cmake_cppcheck_FOUND TRUE)
set(ament_cmake_cpplint_FOUND TRUE)
set(ament_cmake_uncrustify_FOUND TRUE)
set(ament_cmake_flake8_CONFIG_FILE ".ament_flake8.ini")
ament_lint_auto_find_test_dependencies()
endif()

Expand Down
3 changes: 2 additions & 1 deletion launch/demo_rviz.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@


import os

from ament_index_python.packages import get_package_share_directory
from launch import LaunchDescription
from launch_ros.actions import Node
from ament_index_python.packages import get_package_share_directory


def load_file(package_name, file_path):
Expand Down

0 comments on commit d36aef7

Please sign in to comment.