Closed tomschr closed 7 years ago
Surprise, surprise. Here is another PR. 😆 This PR includes the following changes:
test_getdarksky_check_values()
return_value
safeget()
process_rss()
fetchrss()
Overall change should make code "cleaner" and easier to read. Hope you like it! 😁
Ok, back again. Do you have any further questions?
Welcome back! 😄 No, no questions. Will merge ASAP.
Thanks! 👍
Surprise, surprise. Here is another PR. 😆 This PR includes the following changes:
test_getdarksky_check_values()
to make stricter testcasereturn_value
parametersafeget()
to avoid ugliness of try..except. This part was especially tricky.process_rss()
to simplify for loop infetchrss()
Overall change should make code "cleaner" and easier to read. Hope you like it! 😁