Skip to content

Commit

Permalink
pre-commit format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
krmihaly committed Jul 8, 2024
1 parent b135c38 commit 598e4b9
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 18 deletions.
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
repos:
# Standard hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand All @@ -36,19 +36,19 @@ repos:

# Python hooks
- repo: https://github.com/asottile/pyupgrade
rev: v3.4.0
rev: v3.16.0
hooks:
- id: pyupgrade
args: [--py36-plus]

- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.4.2
hooks:
- id: black
args: [--line-length=99]

- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
rev: 7.1.0
hooks:
- id: flake8
args: ["--max-line-length", "99"]
Expand All @@ -61,13 +61,13 @@ repos:
args: ["--ignore=D100,D101,D102,D103,D104,D105,D106,D107,D203,D212,D404"]

- repo: https://github.com/psf/black
rev: 23.3.0
rev: 24.4.2
hooks:
- id: black
args: ["--line-length=99"]

- repo: https://github.com/pycqa/flake8
rev: 6.0.0
rev: 7.1.0
hooks:
- id: flake8
args: ["--extend-ignore=E501"]
Expand Down Expand Up @@ -140,14 +140,14 @@ repos:
# Spellcheck in comments and docs
# skipping of *.svg files is not working...
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
rev: v2.3.0
hooks:
- id: codespell
args: ['--write-changes', '-L', 'linz']
exclude: CHANGELOG\.rst|\.(svg|pyc)$

# xml linter
- repo: https://github.com/lsst-ts/pre-commit-xmllint
rev: v1.0.0
rev: 6f36260b537bf9a42b6ea5262c915ae50786296e
hooks:
- id: format-xmllint
2 changes: 1 addition & 1 deletion kuka_kmr_iisy_support/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ find_package(ament_cmake REQUIRED)
find_package(urdf REQUIRED)
find_package(xacro REQUIRED)

install(DIRECTORY launch meshes urdf
install(DIRECTORY launch meshes urdf
DESTINATION share/${PROJECT_NAME})


Expand Down
2 changes: 0 additions & 2 deletions kuka_kmr_iisy_support/launch/test_kmr_iisy.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,4 @@ def generate_launch_description():
parameters=[robot_description],
)



return LaunchDescription([robot_state_publisher, rviz_node])
3 changes: 1 addition & 2 deletions kuka_kmr_iisy_support/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<name>kuka_kmr_iisy_support</name>
<version>0.0.1</version>
<description>Package with URDF and description files of a KUKA KMR iisy differential drive mobile robot.</description>
<maintainer email="krmihaly42@gmail.com">Kristófi Mihály</maintainer>
<maintainer email="krmihaly42@gmail.com">Kristofi Mihaly</maintainer>
<license>Apache-2.0</license>
<buildtool_depend>ament_cmake</buildtool_depend>
<depend>urdf</depend>
Expand All @@ -13,7 +13,6 @@
<exec_depend>kuka_resources</exec_depend>
<exec_depend>robot_state_publisher</exec_depend>
<exec_depend>rviz2</exec_depend>

<export>
<architecture_independent/>
<build_type>ament_cmake</build_type>
Expand Down
4 changes: 2 additions & 2 deletions kuka_kmr_iisy_support/urdf/kmr_iisy_macro.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@
<xacro:material_kuka_ral_gray_white/>
</visual>
</link>


</xacro:macro>
</robot>
4 changes: 2 additions & 2 deletions kuka_kmr_iisy_support/urdf/kmr_iisy_ros2_control.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<param name="state_following_offset">0.0</param>
</xacro:if>
<xacro:unless value="${use_fake_hardware}">

<!-- Read QoS profile parameters -->
<xacro:if value="${qos_config_file == ''}">
<xacro:property name="qos_config" value="$(find kuka_kmr_iisy_eac_driver)/config/qos_config.yaml"/>
Expand Down Expand Up @@ -54,7 +54,7 @@
<param name="initial_value">0.0</param>
<state_interface name="angular/z"/>
<param name="initial_value">0.0</param>

</joint>
</ros2_control>
</xacro:macro>
Expand Down
2 changes: 1 addition & 1 deletion kuka_resources/config/view_kmr_iisy_urdf.rviz
Original file line number Diff line number Diff line change
Expand Up @@ -262,4 +262,4 @@ Window Geometry:
collapsed: false
Width: 2560
X: 0
Y: 28
Y: 28

0 comments on commit 598e4b9

Please sign in to comment.