Skip to content

Commit

Permalink
Add isort
Browse files Browse the repository at this point in the history
  • Loading branch information
astrojuanlu committed Dec 26, 2018
1 parent 30c6051 commit 8368966
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ jobs:
command: |
python3 -m venv venv
. venv/bin/activate
pip install black mypy --quiet
pip install black isort mypy --quiet
- run:
name: check Black style
command: |
. venv/bin/activate
isort -c setup.py src/
black src/ setup.py --check
- run:
Expand Down
6 changes: 6 additions & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[settings]
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
combine_as_imports=True
line_length=88
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
'dev': [
"black",
"coverage",
"isort",
"pytest",
"pytest-cov<2.6.0",
"pycodestyle",
Expand Down

0 comments on commit 8368966

Please sign in to comment.