Skip to content

sort import statements #8

@prjemian

Description

@prjemian

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.

  1. group system imports first, blank line, then local imports
  2. in each group, sort alphabetically

Of course, some imports require other actions before them, such as appending to sys.path requires import sys first. That's expected.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions