Skip to content

Commit

Permalink
.pre-commit: Enforce more black python
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Friedman <[email protected]>
  • Loading branch information
Ryanf55 committed Nov 21, 2023
1 parent 7c7abce commit ff66741
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 ff66741

Please sign in to comment.