So you want it to look like

```
import stdlibA
import stdlibB
from stdlibA import A, B, C
from stdlibB import X, Y, Z

import pkgA

import pkgB

from pkgA import N, M, P

from pkgB import Q, R, S
```

rather than

```
import stdlibA
from stdlibA import A, B, C
import stdlibB
from stdlibB import X, Y, Z

import pkgA
from pkgA import N, M, P

import pkgB
from pkgB import Q, R, S
```

?