Skip to content

Commit 2de2557

Browse files
sfukutapre-commit-ci[bot]
authored andcommitted
fix(pre-commit): add flake8-ros (#1291)
* update pre-commit-config * ci(pre-commit): autofix --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent a629572 commit 2de2557

File tree

2 files changed

+3
-18
lines changed

2 files changed

+3
-18
lines changed

.pre-commit-config.yaml

+2-17
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ repos:
3535
- id: yamllint
3636

3737
- repo: https://github.com/tier4/pre-commit-hooks-ros
38-
rev: v0.6.0
38+
rev: v0.8.0
3939
hooks:
40+
- id: flake8-ros
4041
- id: prettier-xacro
4142
- id: prettier-launch-xml
4243
- id: prettier-package-xml
@@ -65,22 +66,6 @@ repos:
6566
- id: black
6667
args: [--line-length=100]
6768

68-
- repo: https://github.com/PyCQA/flake8
69-
rev: 4.0.1
70-
hooks:
71-
- id: flake8
72-
additional_dependencies:
73-
[
74-
flake8-blind-except,
75-
flake8-builtins,
76-
flake8-class-newline,
77-
flake8-comprehensions,
78-
flake8-deprecated,
79-
flake8-docstrings,
80-
flake8-import-order,
81-
flake8-quotes,
82-
]
83-
8469
- repo: https://github.com/pre-commit/mirrors-clang-format
8570
rev: v13.0.1
8671
hooks:

common/tier4_debug_tools/package.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
<depend>tier4_debug_msgs</depend>
1818

1919
<exec_depend>launch_ros</exec_depend>
20-
<exec_depend>rclpy</exec_depend>
2120
<exec_depend condition="$ROS_PYTHON_VERSION == 3">python3-rtree</exec_depend>
21+
<exec_depend>rclpy</exec_depend>
2222
<test_depend>ament_lint_auto</test_depend>
2323
<test_depend>autoware_lint_common</test_depend>
2424

0 commit comments

Comments
 (0)