From 177d9ce0c291fb1a4fdac60db9df4fb79dc753ef Mon Sep 17 00:00:00 2001 From: Megan Davidson Date: Fri, 9 Sep 2022 16:03:46 +1200 Subject: [PATCH] fix: appease pylint will be reverted in next PR --- scripts/standardise_validate.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/standardise_validate.py b/scripts/standardise_validate.py index d2da2a4b6..90b94f311 100644 --- a/scripts/standardise_validate.py +++ b/scripts/standardise_validate.py @@ -10,10 +10,10 @@ def main() -> None: concurrency: int = 1 - parser = argparse.ArgumentParser() - parser.add_argument("--preset", dest="preset", required=True) - parser.add_argument("--source", dest="source", nargs="+", required=True) - arguments = parser.parse_args() + parse_args = argparse.ArgumentParser() + parse_args.add_argument("--preset", dest="preset", required=True) + parse_args.add_argument("--source", dest="source", nargs="+", required=True) + arguments = parse_args.parse_args() source = format_source(arguments.source)