Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Precommit configuration #64

Merged
merged 1 commit into from Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
35 changes: 35 additions & 0 deletions .pre-commit-config.yaml
@@ -0,0 +1,35 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-merge-conflict
- id: mixed-line-ending
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: detect-private-key
- id: destroyed-symlinks
- id: check-symlinks
- id: check-case-conflict
- id: check-ast
- id: double-quote-string-fixer
- id: requirements-txt-fixer
- id: check-xml
- id: check-yaml
rev: v4.4.0
- repo: https://github.com/codespell-project/codespell
hooks:
- id: codespell
args:
- --write-changes
rev: v2.2.5
- repo: https://github.com/pre-commit/mirrors-autopep8
hooks:
- id: autopep8
rev: v2.0.2
- repo: https://github.com/PyCQA/flake8
hooks:
- id: flake8
rev: 6.1.0
ci:
autoupdate_schedule: quarterly
1 change: 1 addition & 0 deletions launch/display.launch.py
Expand Up @@ -8,6 +8,7 @@
from launch_ros.actions import Node
from launch_ros.parameter_descriptions import ParameterValue


def generate_launch_description():
urdf_tutorial_path = get_package_share_path('urdf_tutorial')
default_model_path = urdf_tutorial_path / 'urdf/01-myfirst.urdf'
Expand Down
2 changes: 1 addition & 1 deletion meshes/l_finger.dae
Expand Up @@ -5,7 +5,7 @@
<author>WakiMudi</author>
<authoring_tool>OpenCOLLADA2009 x64</authoring_tool>
<comments>
ColladaMaya export options:
ColladaMaya export options:
bakeTransforms=0;relativePaths=0;copyTextures=0;exportTriangles=0;exportCgfxFileReferences=1;
isSampling=0;curveConstrainSampling=0;removeStaticCurves=1;exportPolygonMeshes=1;exportLights=1;
exportCameras=1;exportJointsAndSkin=1;exportAnimations=1;exportInvisibleNodes=0;exportDefaultCameras=0;
Expand Down
2 changes: 1 addition & 1 deletion meshes/l_finger_tip.dae
Expand Up @@ -5,7 +5,7 @@
<author>WakiMudi</author>
<authoring_tool>OpenCOLLADA2009 x64</authoring_tool>
<comments>
ColladaMaya export options:
ColladaMaya export options:
bakeTransforms=0;relativePaths=0;copyTextures=0;exportTriangles=0;exportCgfxFileReferences=1;
isSampling=0;curveConstrainSampling=0;removeStaticCurves=1;exportPolygonMeshes=1;exportLights=1;
exportCameras=1;exportJointsAndSkin=1;exportAnimations=1;exportInvisibleNodes=0;exportDefaultCameras=0;
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
@@ -0,0 +1,2 @@
[flake8]
max_line_length=120