-
Notifications
You must be signed in to change notification settings - Fork 369
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
Remaining typing tidyup #916
base: main
Are you sure you want to change the base?
Conversation
Think there's still some good changes here worth including, so just creating a PR with the remaining changes I had. Will also push my partial typing of tests up later as a separate PR, if it looks like we can work around the awkward nested classes. |
I recommend keeping 'if TYPE_CHECKING' as it reduces chances for circular imports and does not import unneeded modules at runtime. |
Yeah, I don't mind too much. I usually find it preferable to have real imports where possible. |
Kept one where the module was already imported for another object, have reverted the rest. |
No description provided.