Skip to content

Commit

Permalink
Tools: Enforce MicroStrain7 formatting in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Friedman <[email protected]>
  • Loading branch information
Ryanf55 committed Nov 23, 2023
1 parent 22b2e79 commit 918ed97
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Tools/scripts/run_astyle.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,14 @@ def __init__(self, *, dry_run=DRY_RUN_DEFAULT):
self.retcode = 0
self.directories_to_check = [
'libraries/AP_DDS',
'libraries/AP_ExternalControl'
'libraries/AP_ExternalControl',
]
self.files_to_check = [
pathlib.Path(s) for s in [
'libraries/AP_ExternalAHRS/AP_ExternalAHRS_MicroStrain7.cpp',
'libraries/AP_ExternalAHRS/AP_ExternalAHRS_MicroStrain7.h',
]
]
self.files_to_check = []
self.dry_run = dry_run

def progress(self, string):
Expand Down

0 comments on commit 918ed97

Please sign in to comment.