mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Tools: use correct astype options in run_astyle.py
This commit is contained in:
parent
e01b359462
commit
a35bf1c373
@ -32,6 +32,7 @@ class AStyleChecker(object):
|
|||||||
# for path in self.files_to_check:
|
# for path in self.files_to_check:
|
||||||
# self.progress("Checking (%s)" % path)
|
# self.progress("Checking (%s)" % path)
|
||||||
astyle_command = ["astyle", "--dry-run"]
|
astyle_command = ["astyle", "--dry-run"]
|
||||||
|
astyle_command.append("--options=Tools/CodeStyle/astylerc")
|
||||||
astyle_command.extend(self.files_to_check)
|
astyle_command.extend(self.files_to_check)
|
||||||
ret = subprocess.run(
|
ret = subprocess.run(
|
||||||
astyle_command,
|
astyle_command,
|
||||||
|
Loading…
Reference in New Issue
Block a user