Writing Python code means importing stuff. Lots of code can mean lots of imports. Python is pretty picky about style, and so are you, which can mean lots of tedious manual gardening of your imports.
Optimize Imports acts as your import janitor and it
has settings which let you specify some options on style import. PyCharm
2018.3 adds a preference: "One Import Per Line". With this setting in
Optimize Imports action will rewrite lines like this:
from project.models import Item, User, Account
...into lines like this:
from project.models import Accountfrom project.models import Itemfrom project.models import User
Don't forget, PyCharm can also run the
Optimize Imports action, with
options such as
Only VCS changed files, across all the files in your
project. Also, check out the other ways to customize import styles.