AP_DDS: Recommend run_astyle.py

Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
This commit is contained in:
Ryan Friedman 2024-11-08 13:07:20 -07:00 committed by Peter Barker
parent 8354bedd51
commit 81d1945347
1 changed files with 2 additions and 2 deletions

View File

@ -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.