python: Add settings for isort.

Commit msg tweaked by rht. Based on
https://github.com/zulip/zulip/pull/3318.

Content tweaked by tabbott.
This commit is contained in:
Tommy Ip 2017-11-08 02:16:11 +01:00 committed by Tim Abbott
parent d2d1459a6a
commit 9565ea4513
1 changed files with 8 additions and 0 deletions

8
.isort.cfg Normal file
View File

@ -0,0 +1,8 @@
[settings]
line_length = 79
multi_line_output = 2
balanced_wrapping = true
known_third_party = django, ujson, sqlalchemy
known_first_party = zerver, zproject, version, confirmation, zilencer, analytics, frontend_tests, scripts, corporate
sections = FUTURE, STDLIB, THIRDPARTY, FIRSTPARTY, LOCALFOLDER
lines_after_imports = 1