Skip to content

Argparser class and detailed report#1

Merged
ritwik-g merged 3 commits intomainfrom
argument_class
Oct 22, 2024
Merged

Argparser class and detailed report#1
ritwik-g merged 3 commits intomainfrom
argument_class

Conversation

@ritwik-g
Copy link
Contributor

@ritwik-g ritwik-g commented Oct 22, 2024

  • Replaced global argparser implementation with a class based implementation.
  • Added an option to print detailed report of all processed files --print_report

Copy link

@hari-kuriakose hari-kuriakose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ritwik-g LGTM overall.

The parsed arguments returned by argparse.ArgumentParser itself might be sufficient for use everywhere though.

@ritwik-g
Copy link
Contributor Author

@ritwik-g LGTM overall.

The parsed arguments returned by argparse.ArgumentParser itself might be sufficient for use everywhere though.

Yes it is. But I made such a data class so that the type hinting will work with IDEs avoiding confusions.

@ritwik-g ritwik-g merged commit f3cf7af into main Oct 22, 2024
@ritwik-g ritwik-g deleted the argument_class branch October 22, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants