From 81d194534766ac989af22c3a6a53f7a779abd8f9 Mon Sep 17 00:00:00 2001 From: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com> Date: Fri, 8 Nov 2024 13:07:20 -0700 Subject: [PATCH] AP_DDS: Recommend run_astyle.py Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com> --- libraries/AP_DDS/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_DDS/README.md b/libraries/AP_DDS/README.md index 61aed38a6d..03a1aa9293 100644 --- a/libraries/AP_DDS/README.md +++ b/libraries/AP_DDS/README.md @@ -364,10 +364,10 @@ for additional details. ### Development Requirements Astyle is used to format the C++ code in AP_DDS. This is required for CI to pass the build. -See [Tools/CodeStyle/ardupilot-astyle.sh](../../Tools/CodeStyle/ardupilot-astyle.sh). +To run the automated formatter, run: ```bash -./Tools/CodeStyle/ardupilot-astyle.sh libraries/AP_DDS/*.h libraries/AP_DDS/*.cpp +./Tools/scripts/run_astyle.py ``` Pre-commit is used for other things like formatting python and XML code.