-
Notifications
You must be signed in to change notification settings - Fork 10
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
Improve logging #339
Improve logging #339
Conversation
Oops, seems I didn't push the change to |
FWIW, I still run the tests with
I've done 0 effort to figure out what causes this error, but was wondering whether this would fix it? |
Uhm, yes this PR fixes that problem, because it removes TestSetupLoggers from the repo entirely! 🍷 |
Indeed, I'm planning to add new tests from scratch... |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## dev_master #339 +/- ##
==============================================
- Coverage 77.06% 77.04% -0.03%
==============================================
Files 57 57
Lines 7714 7693 -21
==============================================
- Hits 5945 5927 -18
+ Misses 1769 1766 -3 ☔ View full report in Codecov by Sentry. |
Coverage seems bad because many of the logging calls are warnings / errors in some rare condition, that is not tested... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, another step in best-practices
astar
loggers from outside (e.g. skycalc_ipy) will default to WARNING.astar-utils
to have a single place where these are defined.