8000 Switch from absolute to relative imports · Issue #17 · balbasty/nitorch · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Switch from absolute to relative imports #17

New issue

Have a question about this project? Sign up for a free GitHub account to ope 94B3 n 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
balbasty opened this issue Jun 19, 2020 · 0 comments
Open

Switch from absolute to relative imports #17

balbasty opened this issue Jun 19, 2020 · 0 comments
Labels
api API-related issues

Comments

@balbasty
Copy link
Owner

Nitorch imports should use relative indexing, i.e.,

# In file nitorch/bar.py
from nitorch.foo import fun   # NO
from .foo import fun          # YES

Please reference this issue when making these changes in the code base.

@balbasty balbasty added the api API-related issues label Jun 19, 2020
@balbasty balbasty mentioned this issue Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api API-related issues
Projects
None yet
Development

No branches or pull requests

1 participant
0