src.ansys.pre_commit_hooks.add_license_headers.set_lint_args#
- src.ansys.pre_commit_hooks.add_license_headers.set_lint_args(parser: argparse.ArgumentParser) argparse.Namespace #
Add lint arguments to the parser for REUSE.
- Parameters:
- parser: argparse.ArgumentParser
Parser without any lint arguments.
- Returns:
argparse.Namespace
Parser namespace containing lint arguments.