Skip to content

Commit

Permalink
Add config for isort
Browse files Browse the repository at this point in the history
Change-Id: I8ee30d64ac8bb821131f1bb55a8aeb36e21173f4
  • Loading branch information
enzbang committed Nov 26, 2016
1 parent c086ce5 commit 6895535
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ This ensures that:
* the print statement cannot be used
* the / operator means true division

Note that this can be automated by running:

`isort <your module>.py`

The `e3` namespace
------------------

Expand Down
6 changes: 6 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[isort]
balanced_wrapping = True
add_imports =
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function

0 comments on commit 6895535

Please sign in to comment.