Skip to content

Commit

Permalink
👕 configure isort
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Aug 14, 2019
1 parent 09d8869 commit 0fe0e62
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
12 changes: 12 additions & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[settings]
line_length=79
# Ignore generated files
skip=setup.py, moban/__init__.py
known_first_party=fs, lml, crayons, git, mock, nose
indent=' '
multi_line_output=3
length_sort=1
include_trailing_comma=true
default_section=FIRSTPARTY
no_lines_before=LOCALFOLDER
sections=FUTURE,STDLIB,FIRSTPARTY,THIRDPARTY,LOCALFOLDER
3 changes: 1 addition & 2 deletions tests/test_gitfs_opener.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import fs
from gitfs2.repo import GitRequire

from mock import patch
from nose.tools import ok_
from gitfs2.repo import GitRequire


@patch("gitfs2.repo.git_clone")
Expand Down
5 changes: 2 additions & 3 deletions tests/test_repo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import fs.path
from mock import patch
from nose.tools import eq_, raises
from gitfs2.repo import (
GitRequire,
git_clone,
Expand All @@ -7,9 +9,6 @@
make_sure_git_is_available,
)

from mock import patch
from nose.tools import eq_, raises


@patch("appdirs.user_cache_dir", return_value="root")
@patch("gitfs2.repo.mkdir_p")
Expand Down

0 comments on commit 0fe0e62

Please sign in to comment.