From 26d8c4745ef9b0f9152c53d4235dbf9f16ab507d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Sep 2024 19:40:04 +0000 Subject: [PATCH 1/7] chore(deps): pre-commit.ci autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/PyCQA/pylint: v3.2.6 → v3.2.7](https://github.com/PyCQA/pylint/compare/v3.2.6...v3.2.7) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 675223d..89410b1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -56,7 +56,7 @@ repos: - id: isort args: [--profile, black, --multi-line, "3"] - repo: https://github.com/PyCQA/pylint - rev: v3.2.6 + rev: v3.2.7 hooks: - id: pylint exclude: (?x)( telecarla_depth_rgb | telecarla_lidar ) From f5312f16342539e64768a65a3d0827de461333fd Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Sep 2024 19:40:20 +0000 Subject: [PATCH 2/7] style: pre-commit.ci fixes --- telecarla_manual_control/src/telecarla_manual_control_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telecarla_manual_control/src/telecarla_manual_control_view.py b/telecarla_manual_control/src/telecarla_manual_control_view.py index 176a1b3..b055a78 100755 --- a/telecarla_manual_control/src/telecarla_manual_control_view.py +++ b/telecarla_manual_control/src/telecarla_manual_control_view.py @@ -279,7 +279,7 @@ def update_info_text(self): "", f"Vehicle: {' '.join(self.vehicle_info.type.title().split('.')[1:]):20s}", f"Speed: {3.6 * self.vehicle_status.velocity:15.0f} km/h", - f"Heading: {yaw:16.0f}\N{DEGREE SIGN} {heading}", + f"Heading: {yaw:16.0f}\N{{DEGREE SIGN}} {heading}", f"Location: ({x_pos: 5.1f}, {y_pos: 5.1f})", f"GNSS: {self.latitude: 2.6f}, {self.longitude: 3.6f}", f"Height: {z_pos:18.0f} m", From 3b1c7bc3e8f75521e074e12d0c1bbeedcd25946b Mon Sep 17 00:00:00 2001 From: Markus Hofbauer Date: Tue, 3 Sep 2024 09:00:38 +0200 Subject: [PATCH 3/7] Update telecarla_manual_control/src/telecarla_manual_control_view.py --- telecarla_manual_control/src/telecarla_manual_control_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telecarla_manual_control/src/telecarla_manual_control_view.py b/telecarla_manual_control/src/telecarla_manual_control_view.py index b055a78..176a1b3 100755 --- a/telecarla_manual_control/src/telecarla_manual_control_view.py +++ b/telecarla_manual_control/src/telecarla_manual_control_view.py @@ -279,7 +279,7 @@ def update_info_text(self): "", f"Vehicle: {' '.join(self.vehicle_info.type.title().split('.')[1:]):20s}", f"Speed: {3.6 * self.vehicle_status.velocity:15.0f} km/h", - f"Heading: {yaw:16.0f}\N{{DEGREE SIGN}} {heading}", + f"Heading: {yaw:16.0f}\N{DEGREE SIGN} {heading}", f"Location: ({x_pos: 5.1f}, {y_pos: 5.1f})", f"GNSS: {self.latitude: 2.6f}, {self.longitude: 3.6f}", f"Height: {z_pos:18.0f} m", From a33e7a3c677aa7582920b84fbee4600057d419ba Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 07:00:51 +0000 Subject: [PATCH 4/7] style: pre-commit.ci fixes --- telecarla_manual_control/src/telecarla_manual_control_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telecarla_manual_control/src/telecarla_manual_control_view.py b/telecarla_manual_control/src/telecarla_manual_control_view.py index 176a1b3..b055a78 100755 --- a/telecarla_manual_control/src/telecarla_manual_control_view.py +++ b/telecarla_manual_control/src/telecarla_manual_control_view.py @@ -279,7 +279,7 @@ def update_info_text(self): "", f"Vehicle: {' '.join(self.vehicle_info.type.title().split('.')[1:]):20s}", f"Speed: {3.6 * self.vehicle_status.velocity:15.0f} km/h", - f"Heading: {yaw:16.0f}\N{DEGREE SIGN} {heading}", + f"Heading: {yaw:16.0f}\N{{DEGREE SIGN}} {heading}", f"Location: ({x_pos: 5.1f}, {y_pos: 5.1f})", f"GNSS: {self.latitude: 2.6f}, {self.longitude: 3.6f}", f"Height: {z_pos:18.0f} m", From 76273c82cab4780b34afa4a97f9d91f337829a1a Mon Sep 17 00:00:00 2001 From: Markus Hofbauer Date: Wed, 4 Sep 2024 09:47:45 +0200 Subject: [PATCH 5/7] Revert "style: pre-commit.ci fixes" This reverts commit a33e7a3c677aa7582920b84fbee4600057d419ba. --- telecarla_manual_control/src/telecarla_manual_control_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telecarla_manual_control/src/telecarla_manual_control_view.py b/telecarla_manual_control/src/telecarla_manual_control_view.py index b055a78..176a1b3 100755 --- a/telecarla_manual_control/src/telecarla_manual_control_view.py +++ b/telecarla_manual_control/src/telecarla_manual_control_view.py @@ -279,7 +279,7 @@ def update_info_text(self): "", f"Vehicle: {' '.join(self.vehicle_info.type.title().split('.')[1:]):20s}", f"Speed: {3.6 * self.vehicle_status.velocity:15.0f} km/h", - f"Heading: {yaw:16.0f}\N{{DEGREE SIGN}} {heading}", + f"Heading: {yaw:16.0f}\N{DEGREE SIGN} {heading}", f"Location: ({x_pos: 5.1f}, {y_pos: 5.1f})", f"GNSS: {self.latitude: 2.6f}, {self.longitude: 3.6f}", f"Height: {z_pos:18.0f} m", From eb594a821df9cb110e5299dfcd554e9ebb32a473 Mon Sep 17 00:00:00 2001 From: Markus Hofbauer Date: Wed, 4 Sep 2024 09:49:01 +0200 Subject: [PATCH 6/7] downgrade pyupgrade --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 89410b1..b418300 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -61,7 +61,7 @@ repos: - id: pylint exclude: (?x)( telecarla_depth_rgb | telecarla_lidar ) - repo: https://github.com/asottile/pyupgrade - rev: v3.17.0 + rev: v3.16.0 # Last version supporting Python 3.8 hooks: - id: pyupgrade args: [--py38-plus, --keep-runtime-typing] From 5fc8b89d911c2d16e73d04ec20e90c0e28d5b775 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 4 Sep 2024 07:49:22 +0000 Subject: [PATCH 7/7] style: pre-commit.ci fixes --- telecarla_manual_control/src/telecarla_manual_control_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telecarla_manual_control/src/telecarla_manual_control_view.py b/telecarla_manual_control/src/telecarla_manual_control_view.py index 176a1b3..b055a78 100755 --- a/telecarla_manual_control/src/telecarla_manual_control_view.py +++ b/telecarla_manual_control/src/telecarla_manual_control_view.py @@ -279,7 +279,7 @@ def update_info_text(self): "", f"Vehicle: {' '.join(self.vehicle_info.type.title().split('.')[1:]):20s}", f"Speed: {3.6 * self.vehicle_status.velocity:15.0f} km/h", - f"Heading: {yaw:16.0f}\N{DEGREE SIGN} {heading}", + f"Heading: {yaw:16.0f}\N{{DEGREE SIGN}} {heading}", f"Location: ({x_pos: 5.1f}, {y_pos: 5.1f})", f"GNSS: {self.latitude: 2.6f}, {self.longitude: 3.6f}", f"Height: {z_pos:18.0f} m",