Skip to content

Commit e23a869

Browse files
committed
add isort
1 parent e8789c2 commit e23a869

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ install:
1313
- pip install codecov
1414
- pip install tox
1515
- pip install tox-travis
16+
- pip install isort
1617
script:
18+
- isort --check --recursive src
1719
- codecov --version
1820
- tox
1921
after_success:

setup.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[isort]
2+
multi_line_output = 3
3+
include_trailing_comma = True
4+
force_grid_wrap = 0
5+
use_parentheses = True
6+
line_length = 88

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
2727
fd.read(), re.MULTILINE).group(1)
2828

29-
tests_requires = ['responses', 'pytest']
29+
tests_requires = ['responses', 'pytest', 'isort']
3030

3131
setup(
3232
name="cryptojwt",

0 commit comments

Comments
 (0)