From 2600a5f3c408b062c40d1a5d9d4a3cd26b94cc02 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 30 Jul 2024 06:09:10 +0000 Subject: [PATCH] ci(pre-commit): autofix --- aip_xx1_description/scripts/compile_xacro.py | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/aip_xx1_description/scripts/compile_xacro.py b/aip_xx1_description/scripts/compile_xacro.py index 43dacd13..0128e6ac 100644 --- a/aip_xx1_description/scripts/compile_xacro.py +++ b/aip_xx1_description/scripts/compile_xacro.py @@ -351,15 +351,21 @@ def main( if __name__ == "__main__": import argparse + parser = argparse.ArgumentParser(description="Process four positional arguments.") - + # Add four positional arguments - parser.add_argument('template_directory', type=str, help='The first argument') - parser.add_argument('calibration_directory', type=str, help='The second argument') - parser.add_argument('output_directory', type=str, help='The third argument') - parser.add_argument('project_name', type=str, help='The fourth argument') + parser.add_argument("template_directory", type=str, help="The first argument") + parser.add_argument("calibration_directory", type=str, help="The second argument") + parser.add_argument("output_directory", type=str, help="The third argument") + parser.add_argument("project_name", type=str, help="The fourth argument") # Parse the arguments args = parser.parse_args() - main(args.template_directory, args.calibration_directory, args.output_directory, args.project_name) + main( + args.template_directory, + args.calibration_directory, + args.output_directory, + args.project_name, + )