-
Notifications
You must be signed in to change notification settings - Fork 3
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
sort import statements #8
Comments
Discuss before modifying code since These imports can be sorted: ipython-s6bm/ipython_profiles/profile_s6bm/startup/00-prep.py Lines 9 to 17 in ab45c8c
to
without causing errors. |
Similarly, these lines (in the print) should be sorted since they are for reference: ipython-s6bm/ipython_profiles/profile_s6bm/startup/00-prep.py Lines 32 to 43 in ab45c8c
|
This line is not needed:
but we should convert:
to
|
Adding previous comment to #9 |
To ease code maintenance, suggest sorting import statements. The bluesky community has been discussing code format and this was one of the topics.
There is an isort package that will do this for you. But we could do it manually first.
Of course, some imports require other actions before them, such as appending to
sys.path
requiresimport sys
first. That's expected.The text was updated successfully, but these errors were encountered: