Skip to content

Commit

Permalink
Address some flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ni-jfitzger committed Apr 25, 2024
1 parent 41e7a7b commit 9db7b23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/report_deps_used.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
'nitclk',
]


class CustomFormatter(argparse.ArgumentDefaultsHelpFormatter, argparse.RawDescriptionHelpFormatter):
'''We want the description to use the raw formatting but have the parameters be formatted as before
Expand All @@ -45,7 +46,7 @@ def main():
report_group.add_argument("--env_name", action="store", default=None, help="The name of the tox env used")
report_group.add_argument("--report", action="store_true", default=False, help="Report all unique deps and versions used.")
report_group.add_argument("--python-cmd", action="store", default=None, help=f"Command to use for invoking python. Default: {default_python_cmd}")
report_group.add_argument("--dir", action="store", default=None, help=f"Working directory to change to before running commands")
report_group.add_argument("--dir", action="store", default=None, help="Working directory to change to before running commands")

verbosity_group = parser.add_argument_group("Verbosity, Logging & Debugging")
verbosity_group.add_argument("-v", "--verbose", action="count", default=0, help="Verbose output")
Expand Down

0 comments on commit 9db7b23

Please sign in to comment.