Closed marpetr closed 8 years ago
Most import orderings want stdlib imports grouped before non-stdlib imports. So datetime
and logging
would come prior to dateutil
as that's a third-party. smarkets
is defined in Configuration with an example.
My apologies. That is perfectly correct behavior.
I have a file with the following group of imports:
Import order looks right, but flake8 complains about it:
Rearranging imports in the following order satisfies flake8:
Is this intended by design? I couldn't find the precise definition of smarkets import style, hence can't tell where is the problem.