Closed matiasilva closed 3 years ago
That looks much better - nice one. The problem with this being my first Python program is you simply don't know what libraries exist to help you out!
There's quite a large diff in the main Python file, mostly owing to large blocks of text being removed but also due to applying autopep8
(https://www.python.org/dev/peps/pep-0008/).
Might be worth applying autopep8 first on a new branch, to keep whitespace and technical changes separate - makes doing a review diff difficult if they are mixed together.
Might be worth applying autopep8 first on a new branch, to keep whitespace and technical changes separate - makes doing a review diff difficult if they are mixed together.
Yes, good idea. See #40.
Going to have to revert this as found a load of problems.
This PR adds templating for the various generated files, allowing us to separate logic from text formatting. It pulls out a considerable amount of strings and text into files. This makes the main code a lot cleaner and readable. It also means we can easily extend the project generator to do many more things if needed.