mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
45 lines
1023 B
YAML
45 lines
1023 B
YAML
# To use:
|
|
#
|
|
# pre-commit run -a
|
|
#
|
|
# Or:
|
|
#
|
|
# pre-commit install # (runs every time you commit in git)
|
|
#
|
|
# To update this file:
|
|
#
|
|
# pre-commit autoupdate
|
|
#
|
|
# See https://github.com/pre-commit/pre-commit
|
|
|
|
repos:
|
|
# Standard hooks
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v3.4.0
|
|
hooks:
|
|
- id: check-added-large-files
|
|
- id: check-case-conflict
|
|
- id: check-merge-conflict
|
|
- id: check-symlinks
|
|
- id: check-xml
|
|
- id: check-yaml
|
|
- id: debug-statements
|
|
- id: end-of-file-fixer
|
|
- id: mixed-line-ending
|
|
- id: trailing-whitespace
|
|
|
|
- repo: https://github.com/psf/black
|
|
rev: 22.3.0
|
|
hooks:
|
|
- id: black
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: clang-format
|
|
name: clang-format
|
|
description: Format files with ClangFormat.
|
|
entry: clang-format-10
|
|
language: system
|
|
files: \.(c|cc|cxx|cpp|frag|glsl|h|hpp|hxx|ih|ispc|ipp|java|js|m|proto|vert)$
|
|
args: ['-fallback-style=none', '-i']
|