Skip to content

Commit

Permalink
more fixes to make flake8 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
berndpfrommer committed Oct 17, 2023
1 parent 1ab730e commit 050367a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .flake8.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[flake8]
extend-ignore = Q000,D100,D103
import-order-style = google
max-line-length = 99
show-source = true
statistics = true
2 changes: 1 addition & 1 deletion cmake/ROS2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ if(BUILD_TESTING)
ament_copyright()
ament_cppcheck(LANGUAGE c++)
ament_cpplint(FILTERS "-build/include,-runtime/indentation_namespace")
ament_flake8()
ament_flake8(CONFIG_FILE ${CMAKE_CURRENT_SOURCE_DIR}/.flake8.ini)
#ament_lint_cmake(--filter=-readability/wonkycase)
ament_lint_cmake()
ament_pep257()
Expand Down
1 change: 0 additions & 1 deletion launch/recording_stereo_driver.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import os

from ament_index_python.packages import get_package_share_directory

import launch
from launch.actions import DeclareLaunchArgument as LaunchArg
from launch.actions import OpaqueFunction
Expand Down
2 changes: 0 additions & 2 deletions src/test_time_stamps_ros2.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@

import matplotlib.pyplot as plt
import numpy as np

from rclpy.serialization import deserialize_message
from rclpy.time import Time

import rosbag2_py
from rosidl_runtime_py.utilities import get_message

Expand Down

0 comments on commit 050367a

Please sign in to comment.