-
Notifications
You must be signed in to change notification settings - Fork 80
Code Cleanup #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Code Cleanup #31
Conversation
Can you post the functional changes as a separate PR please. Also, I disagree with some of the whitespace changes, there was formatting in there for a reason. Hence separating from the functional changes. |
Done. New PR opened (#33) As for the purposeful whitespace formatting, I see pico-project-generator/pico_project.py Lines 47 to 62 in 3a1cdad
|
I'll have to check again, that was the obvious example. |
Has this been superseded by #39 ? |
Hey there,
Just started using this. I noticed that files writes were not using a contextmanager and then fell down the rabbit hole of cleaning up some other things. Nothing should be a functional change and the
with open(...) as ...
will prevent any dangling filehandlers should an issue happen.Each commit should be self contained to the issue it addresses for review instead of seeing a huge amount of thrash.
Ignoring whitespace in the compare is also helpful to cut down on the noise. :)
Cheers! Thanks for an awesome project!