Skip to content

Commit

Permalink
.pre-commit: Add Tools/ros2 to list of black formatted files
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
  • Loading branch information
Ryanf55 authored and magicrub committed Nov 22, 2023
1 parent 85172b5 commit d4c7601
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4c7601

Please sign in to comment.