PyCQA / flake8-import-order

Flake8 plugin that checks import order against various Python Style Guides
GNU Lesser General Public License v3.0
278 stars 72 forks source link

Add a new smarkets style #57

Closed pgjones closed 8 years ago

pgjones commented 8 years ago

This is equivalent to the google style except that any import X statements must come before any from X import y statments. It is roughly the same as the google style of this project before version 0.6 onwards.

I'm open to call this style anything, I've chosen smarkets as this is the style we use at Smarkets.

This should fix issue #42 .

pgjones commented 8 years ago

The build error is unrelated to this commit (https://travis-ci.org/public/flake8-import-order/jobs/110189321#L421), but rather due a use of an u prefix in one of the required libraries which is a syntax error in python 3.2.