Skip to content

Commit

Permalink
AP_DDS: Recommend run_astyle.py
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Friedman <[email protected]>
  • Loading branch information
Ryanf55 committed Nov 12, 2024
1 parent 5906ec0 commit bb56e9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/AP_DDS/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bb56e9c

Please sign in to comment.