Skip to content

Commit

Permalink
Fix include order for cpplint
Browse files Browse the repository at this point in the history
Relates to ament/ament_lint#324

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
  • Loading branch information
jacobperron committed Jan 7, 2022
1 parent 379ce0a commit ae40f6b
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 31 deletions.
11 changes: 5 additions & 6 deletions rclpy/src/rclpy/action_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#include <pybind11/pybind11.h>

#include <rcl/error_handling.h>
#include <rcpputils/scope_exit.hpp>

#include <memory>
#include <string>

#include "pybind11/pybind11.h"

#include "rcl/error_handling.h"
#include "rcpputils/scope_exit.hpp"

#include "action_server.hpp"
#include "exceptions.hpp"

Expand Down
14 changes: 7 additions & 7 deletions rclpy/src/rclpy/graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include <pybind11/pybind11.h>

#include <rcl/error_handling.h>
#include <rcl/graph.h>
#include <rcutils/error_handling.h>
#include <rcpputils/scope_exit.hpp>

#include <memory>
#include <string>

#include "pybind11/pybind11.h"

#include "rcl/error_handling.h"
#include "rcl/graph.h"
#include "rcutils/error_handling.h"
#include "rcpputils/scope_exit.hpp"

#include "exceptions.hpp"
#include "graph.hpp"
#include "utils.hpp"
Expand Down
24 changes: 12 additions & 12 deletions rclpy/src/rclpy/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include <pybind11/pybind11.h>

#include <rcl_action/rcl_action.h>
#include <rcl/error_handling.h>
#include <rcl/graph.h>
#include <rcl/rcl.h>
#include <rcl/types.h>
#include <rcl_interfaces/msg/parameter_type.h>
#include <rcl_yaml_param_parser/parser.h>
#include <rcpputils/scope_exit.hpp>
#include <rcutils/format_string.h>

#include <limits>
#include <memory>
#include <stdexcept>
#include <string>
#include <utility>
#include <vector>

#include "pybind11/pybind11.h"

#include "rcl_action/rcl_action.h"
#include "rcl/error_handling.h"
#include "rcl/graph.h"
#include "rcl/rcl.h"
#include "rcl/types.h"
#include "rcl_interfaces/msg/parameter_type.h"
#include "rcl_yaml_param_parser/parser.h"
#include "rcpputils/scope_exit.hpp"
#include "rcutils/format_string.h"

#include "exceptions.hpp"
#include "logging.hpp"
#include "node.hpp"
Expand Down
2 changes: 2 additions & 0 deletions rclpy/src/rclpy/signal_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "signal_handler.hpp"

#include <pybind11/pybind11.h>

#include <csignal>
Expand Down
12 changes: 6 additions & 6 deletions rclpy/src/rclpy/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@

#include <assert.h>

#include <pybind11/pybind11.h>

#include <rcl/error_handling.h>
#include <rcl_action/rcl_action.h>
#include <rcpputils/scope_exit.hpp>

#include <limits>
#include <memory>
#include <string>
#include <vector>

#include "pybind11/pybind11.h"

#include "rcl/error_handling.h"
#include "rcl_action/rcl_action.h"
#include "rcpputils/scope_exit.hpp"

#include "exceptions.hpp"
#include "utils.hpp"

Expand Down

0 comments on commit ae40f6b

Please sign in to comment.