From 58c0a63479b2c61cfcc189d1013b183f646cb195 Mon Sep 17 00:00:00 2001 From: PetoAdam Date: Fri, 26 Jul 2024 10:12:18 +0200 Subject: [PATCH] address code-formatting requirements (pre-commit) --- README.md | 2 +- kuka_rsi_simulator/setup.py | 4 ++-- kuka_rsi_simulator/test/test_dummy.py | 2 +- kuka_sunrise_fri_driver/CMakeLists.txt | 2 +- .../include/kuka_sunrise_fri_driver/tcp_connection.hpp | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index fddd977e..ebe387ed 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This repository contains ROS2 drivers for all KUKA operating systems. ROS2 Distro | Branch | Github CI | SonarCloud ------------ | -------------- | -------------- | -------------- -**Jazzy** | [`master`](https://github.com/kroshu/kuka_drivers/tree/master) | [![Build Status](https://github.com/kroshu//kuka_drivers/actions/workflows/industrial_ci.yml/badge.svg?branch=master)](https://github.com/kroshu/kuka_drivers/actions) | [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=kroshu_kuka_drivers&metric=alert_status)](https://sonarcloud.io/dashboard?id=kroshu_kuka_drivers) +**Jazzy** | [`master`](https://github.com/kroshu/kuka_drivers/tree/master) | [![Build Status](https://github.com/kroshu//kuka_drivers/actions/workflows/industrial_ci.yml/badge.svg?branch=master)](https://github.com/kroshu/kuka_drivers/actions) | [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=kroshu_kuka_drivers&metric=alert_status)](https://sonarcloud.io/dashboard?id=kroshu_kuka_drivers) **Humble** | [`humble`](https://github.com/kroshu/kuka_drivers/tree/humble) | [![Build Status](https://github.com/kroshu//kuka_drivers/actions/workflows/industrial_ci.yml/badge.svg?branch=humble)](https://github.com/kroshu/kuka_drivers/actions) | [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=kroshu_kuka_drivers&metric=alert_status&branch=humble)](https://sonarcloud.io/dashboard?id=kroshu_kuka_drivers) # Requirements diff --git a/kuka_rsi_simulator/setup.py b/kuka_rsi_simulator/setup.py index 7eb2344d..1038c6b6 100644 --- a/kuka_rsi_simulator/setup.py +++ b/kuka_rsi_simulator/setup.py @@ -39,6 +39,6 @@ entry_points={ "console_scripts": ["rsi_simulator = kuka_rsi_simulator.rsi_simulator:main"], }, - tests_require=['pytest'], - test_suite='test', + tests_require=["pytest"], + test_suite="test", ) diff --git a/kuka_rsi_simulator/test/test_dummy.py b/kuka_rsi_simulator/test/test_dummy.py index 62e45ca2..10cf3ad0 100644 --- a/kuka_rsi_simulator/test/test_dummy.py +++ b/kuka_rsi_simulator/test/test_dummy.py @@ -1,2 +1,2 @@ def test_dummy(): - pass \ No newline at end of file + pass diff --git a/kuka_sunrise_fri_driver/CMakeLists.txt b/kuka_sunrise_fri_driver/CMakeLists.txt index 75f2de6a..b1277887 100644 --- a/kuka_sunrise_fri_driver/CMakeLists.txt +++ b/kuka_sunrise_fri_driver/CMakeLists.txt @@ -27,7 +27,7 @@ find_package(std_srvs) find_package(nanopb REQUIRED) find_path(NANOPB_INCLUDE_DIR - NAMES pb.h + NAMES pb.h PATHS /usr/include/nanopb /usr/local/include/nanopb ) diff --git a/kuka_sunrise_fri_driver/include/kuka_sunrise_fri_driver/tcp_connection.hpp b/kuka_sunrise_fri_driver/include/kuka_sunrise_fri_driver/tcp_connection.hpp index daf8f488..c65eab0a 100644 --- a/kuka_sunrise_fri_driver/include/kuka_sunrise_fri_driver/tcp_connection.hpp +++ b/kuka_sunrise_fri_driver/include/kuka_sunrise_fri_driver/tcp_connection.hpp @@ -21,11 +21,11 @@ #include #include +#include #include #include #include #include -#include namespace kuka_sunrise_fri_driver {