-
Notifications
You must be signed in to change notification settings - Fork 27
Fix sphinx warnings #35
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
Conversation
It also fixes this warning:
Explicit markup ends without a blank line; unexpected unindent.
…`datetime.datetime` from the Python stdlib
| import time | ||
| import uuid | ||
| from datetime import datetime | ||
| from datetime import timezone |
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.
It is much nicer to write and read code that does from datetime import datetime, timezone
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.
Is this really necessary in order to get rid of the Sphinx warnings?
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.
There must be other ways!
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #35 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 4 4
Lines 287 286 -1
Branches 46 46
=========================================
- Hits 287 286 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Fixes most of warnings reported in #32 + other fixes explained briefly in each commit message.
Remaining warnings will be fixable using
typing.Self(but only when dropping Python < 3.11, so it's not for tomorrow):