Skip to content
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

Fix fragile relative imports #256

Closed
github-actions bot opened this issue Feb 9, 2023 · 1 comment
Closed

Fix fragile relative imports #256

github-actions bot opened this issue Feb 9, 2023 · 1 comment
Assignees
Labels

Comments

@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2023

Fix fragile relative imports

This import order really matters!

isort is configured not to touch init files

but this is fragile and should be fixed

# TODO: Fix fragile relative imports

os.environ["PROXIMA_VERSION"] = __version__
os.environ["PROXIMA_VC_KEY"] = f"{_semver.major}.{_semver.minor}"

# TODO: Fix fragile relative imports
# This import order really matters!
# isort is configured not to touch __init__ files
# but this is fragile and should be fixed

from proxima.cli import main as cli

from .app import core
from .celery import shared
from .app import checks
from .app import exceptions
from .app import resolve
from .app.link import ProxyLinker

eddfdddff8eea48d90a0d0393c6f7863cf2ff58c

@github-actions
Copy link
Contributor Author

Closed in 6461cd5

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

No branches or pull requests

1 participant