mirror of https://github.com/ArduPilot/ardupilot
.pre-commit: Add Tools/ros2 to list of black formatted files
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
This commit is contained in:
parent
85172b5646
commit
d4c7601b1b
|
@ -50,7 +50,11 @@ repos:
|
|||
rev: 23.7.0
|
||||
hooks:
|
||||
- id: black
|
||||
files: libraries\/AP_DDS\/(wscript|.*\.py)$
|
||||
files: |
|
||||
(?x)^(
|
||||
libraries\/AP_DDS\/(wscript|.*\.py)$ |
|
||||
Tools/ros2/.*\.py
|
||||
)$
|
||||
|
||||
# # Use to sort python imports by name and put system import first.
|
||||
# - repo: https://github.com/pycqa/isort
|
||||
|
|
Loading…
Reference in New Issue