Skip to content

Conversation

@MarcoGorelli
Copy link

@GPUtester
Copy link
Collaborator

Can one of the admins verify this patch?

Copy link
Member

@fjetter fjetter left a comment

Choose a reason for hiding this comment

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

Thanks for opening this. I think this is very helpful to see examples of how this would look like.

I am still concerned about the ambiguity around duplicate module names like utils or core.

Comment on lines +26 to +27
from ...utils import log_errors
from ..utils import update
Copy link
Member

Choose a reason for hiding this comment

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

This is a nice example how things can become quite ambiguous

Copy link
Collaborator

Choose a reason for hiding this comment

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

Agreed, this is just the sort of thing I'd like to avoid having to read.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2022

Unit Test Results

       12 files  ±0         12 suites  ±0   5h 44m 12s ⏱️ + 5m 0s
  2 624 tests ±0    2 541 ✔️  - 1    80 💤 ±0  3 +1 
12 899 runs  ±0  12 255 ✔️  - 6  640 💤 +5  4 +1 

For more details on these failures, see this check.

Results for commit 723457f. ± Comparison against base commit e1e4385.

@crusaderky
Copy link
Collaborator

crusaderky commented Mar 10, 2022

should we just respect PEP8 and do everything absolute? I had not realised there were this many inconsistencies.

@MarcoGorelli
Copy link
Author

seems like there's a preference for absolute everywhere (🎉 ), so closing in favour of #5924

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.

[Style] Absolute vs Relative imports

5 participants