.pre-commit: Enfore code style for AP_DDS

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
This commit is contained in:
Ryan Friedman 2023-03-12 20:03:13 -06:00 committed by Andrew Tridgell
parent ebef532258
commit 81bdf40d1f
1 changed files with 6 additions and 1 deletions

View File

@ -41,7 +41,12 @@ repos:
hooks:
- id: format-xmllint
files: libraries/AP_DDS/dds_xrce_profile.xml
# Disable isort and mypy temporarily due to config conflicts
- repo: https://github.com/psf/black
rev: 23.1.0
hooks:
- id: black
files: libraries\/AP_DDS\/(wscript|.*\.py)$
# # Use to sort python imports by name and put system import first.
# - repo: https://github.com/pycqa/isort
# rev: 5.12.0