Closed keimlink closed 5 years ago
I don't love this contribution.
I have no problem with the import or quotation changes because they solve a specific problem -- enabling the examples to be copied and run as-is.
The other changes, however, do not solve a problem; they propose an alternate style, which doesn't happen to be the style chosen by this project so far.
As a reviewer, I'd much rather be presented with these changes separately.
Use fenced code blocks with language identifier to enable syntax highlighting.
Add
import
andlogger
definitions to allow coping of examples without errors.Add missing quotes to "Earth" in
format()
example.Replace
dict()
with literal in extra example. It's recommended to use the literal if possible.Format all code using Black.