Skip to content

Commit 8173aae

Browse files
awf-autoware-bot[bot]github-actionspre-commit-ci[bot]mitsudome-r
authored
ci(pre-commit): autoupdate (autowarefoundation#7630)
* ci(pre-commit): autoupdate Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * style(pre-commit): autofix * fix: remove the outer call to dict() Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> --------- Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>
1 parent 39a4b58 commit 8173aae

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

.pre-commit-config.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ repos:
3434
- id: yamllint
3535

3636
- repo: https://github.com/tier4/pre-commit-hooks-ros
37-
rev: v0.9.0
37+
rev: v0.10.0
3838
hooks:
3939
- id: flake8-ros
4040
- id: prettier-xacro
@@ -49,7 +49,7 @@ repos:
4949
- id: shellcheck
5050

5151
- repo: https://github.com/scop/pre-commit-shfmt
52-
rev: v3.8.0-1
52+
rev: v3.9.0-1
5353
hooks:
5454
- id: shfmt
5555
args: [-w, -s, -i=4]
@@ -60,13 +60,13 @@ repos:
6060
- id: isort
6161

6262
- repo: https://github.com/psf/black
63-
rev: 24.4.2
63+
rev: 24.8.0
6464
hooks:
6565
- id: black
6666
args: [--line-length=100]
6767

6868
- repo: https://github.com/pre-commit/mirrors-clang-format
69-
rev: v18.1.6
69+
rev: v18.1.8
7070
hooks:
7171
- id: clang-format
7272
types_or: [c++, c, cuda]
@@ -79,7 +79,7 @@ repos:
7979
exclude: .cu
8080

8181
- repo: https://github.com/python-jsonschema/check-jsonschema
82-
rev: 0.28.5
82+
rev: 0.29.2
8383
hooks:
8484
- id: check-metaschema
8585
files: ^.+/schema/.*schema\.json$

sensing/autoware_pointcloud_preprocessor/src/vector_map_filter/lanelet2_map_filter_node.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,8 @@ void Lanelet2MapFilterComponent::pointcloudCallback(const PointCloud2ConstPtr cl
228228
if (!transformPointCloud("map", cloud_msg, input_transformed_cloud_ptr.get())) {
229229
RCLCPP_ERROR_STREAM_THROTTLE(
230230
this->get_logger(), *this->get_clock(), std::chrono::milliseconds(10000).count(),
231-
"Failed transform from "
232-
<< "map"
233-
<< " to " << cloud_msg->header.frame_id);
231+
"Failed transform from " << "map"
232+
<< " to " << cloud_msg->header.frame_id);
234233
return;
235234
}
236235
pcl::PointCloud<pcl::PointXYZ>::Ptr cloud(new pcl::PointCloud<pcl::PointXYZ>);

simulator/autoware_carla_interface/src/autoware_carla_interface/modules/carla_data_provider.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -763,9 +763,9 @@ def remove_actors_in_surrounding(location, distance):
763763
CarlaDataProvider._carla_actor_pool.pop(actor_id)
764764

765765
# Remove all keys with None values
766-
CarlaDataProvider._carla_actor_pool = dict(
767-
{k: v for k, v in CarlaDataProvider._carla_actor_pool.items() if v}
768-
)
766+
CarlaDataProvider._carla_actor_pool = {
767+
k: v for k, v in CarlaDataProvider._carla_actor_pool.items() if v
768+
}
769769

770770
@staticmethod
771771
def get_traffic_manager_port():

0 commit comments

Comments
 (0)