mirror of https://github.com/ArduPilot/ardupilot
.pre-commit: Enfore code style for AP_DDS
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
This commit is contained in:
parent
ebef532258
commit
81bdf40d1f
|
@ -41,7 +41,12 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: format-xmllint
|
- id: format-xmllint
|
||||||
files: libraries/AP_DDS/dds_xrce_profile.xml
|
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.
|
# # Use to sort python imports by name and put system import first.
|
||||||
# - repo: https://github.com/pycqa/isort
|
# - repo: https://github.com/pycqa/isort
|
||||||
# rev: 5.12.0
|
# rev: 5.12.0
|
||||||
|
|
Loading…
Reference in New Issue