Skip to content

Commit 0fe0e62

Browse files
committed
👕 configure isort
1 parent 09d8869 commit 0fe0e62

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

.isort.cfg

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[settings]
2+
line_length=79
3+
# Ignore generated files
4+
skip=setup.py, moban/__init__.py
5+
known_first_party=fs, lml, crayons, git, mock, nose
6+
indent=' '
7+
multi_line_output=3
8+
length_sort=1
9+
include_trailing_comma=true
10+
default_section=FIRSTPARTY
11+
no_lines_before=LOCALFOLDER
12+
sections=FUTURE,STDLIB,FIRSTPARTY,THIRDPARTY,LOCALFOLDER

tests/test_gitfs_opener.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import fs
2-
from gitfs2.repo import GitRequire
3-
42
from mock import patch
53
from nose.tools import ok_
4+
from gitfs2.repo import GitRequire
65

76

87
@patch("gitfs2.repo.git_clone")

tests/test_repo.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import fs.path
2+
from mock import patch
3+
from nose.tools import eq_, raises
24
from gitfs2.repo import (
35
GitRequire,
46
git_clone,
@@ -7,9 +9,6 @@
79
make_sure_git_is_available,
810
)
911

10-
from mock import patch
11-
from nose.tools import eq_, raises
12-
1312

1413
@patch("appdirs.user_cache_dir", return_value="root")
1514
@patch("gitfs2.repo.mkdir_p")

0 commit comments

Comments
 (0)