-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
37 lines (37 loc) · 1.11 KB
/
.pre-commit-config.yaml
File metadata and controls
37 lines (37 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-merge-conflict
- id: check-xml
- id: check-added-large-files
args: ['--maxkb=25000']
- id: check-case-conflict
- id: check-symlinks
- id: debug-statements
- id: mixed-line-ending
- repo: https://github.com/psf/black
rev: 23.10.1
hooks:
- id: black
name: black
description: "Black: The uncompromising Python code formatter"
entry: black
stages: [pre-commit, pre-merge-commit, pre-push, manual]
language: python
minimum_pre_commit_version: 2.9.2
require_serial: true
types_or: [python, pyi]
- repo: https://github.com/tier4/pre-commit-hooks-ros
rev: v0.7.0
hooks:
- id: prettier-xacro
- id: prettier-launch-xml
- id: prettier-package-xml
- id: ros-include-guard
- id: sort-package-xml