Skip to content

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

BoboTiG
Copy link
Contributor

@BoboTiG BoboTiG commented Mar 17, 2025

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):

WARNING: py:class reference target not found: ulid.U [ref.class]

import functools
import os
import time
import uuid
from datetime import datetime
from datetime import timezone
Copy link

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

Copy link
Owner

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?

Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants