Skip to content

Conversation

@PrestonXPitzer
Copy link

In the original file, main.py had no main method, making it visually unclear where the entry point to the program was. I wrapped the dangling code in a main() method and added the if name == "main" idiom so IDE's and users can better distinguish which code is meant to be run.

This required a modification to the generate() and compare() functions, because originally the logger object was in the global scope. It is now passed between these functions, but the functionality is unchanged.

Tests pass

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.

1 participant