Skip to content

Conversation

@carlos-villavicencio-adsk
Copy link
Contributor

@carlos-villavicencio-adsk carlos-villavicencio-adsk commented Oct 28, 2025

Closes #393
Thanks @chadrik

@carlos-villavicencio-adsk carlos-villavicencio-adsk requested a review from a team October 28, 2025 21:33
"""

import datetime
from typing import Any
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like using things from outside without having a package/module name.

Suggested change
from typing import Any
import typing

Then use typing.Any.

If you are looking for a short version, we can always aggree on

import typing as tp

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a subjective personal preference, and we cannot enforce this. I agree on being explicit and importing the objects specifically.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we cannot enforce this.

True but the first use usually defines the rule. So this is why I'd like the first iteration to mark our preferences.

@carlos-villavicencio-adsk carlos-villavicencio-adsk merged commit 03811c1 into master Nov 6, 2025
22 checks passed
@carlos-villavicencio-adsk carlos-villavicencio-adsk deleted the ticket/SG-39414 branch November 6, 2025 19:34
@chadrik
Copy link

chadrik commented Nov 7, 2025

yay! Thanks for taking this to completion! This was on my list after pyside6 stubs and rez.

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.

5 participants