8000 Added isort section to setup.cfg. · mxr/python-prompt-toolkit@795d866 · GitHub
[go: up one dir, main page]

Skip to content

Commit 795d866

Browse files
Added isort section to setup.cfg.
1 parent c72558e commit 795d866

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ script:
2424

2525
# Check wheather the imports were sorted correctly.
2626
# When this fails, please run ./tools/sort-imports.sh
27-
- isort -c -m 3 -tc -rc prompt_toolkit
27+
- isort -c -rc prompt_toolkit
2828

2929
after_success:
3030
- codecov

prompt_toolkit/contrib/ssh/server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from typing import Awaitable, Callable, Optional, TextIO, cast
77

88
import asyncssh
9+
910
from prompt_toolkit.application.current import AppSession, create_app_session
1011
from prompt_toolkit.data_structures import Size
1112
from prompt_toolkit.input.posix_pipe import PosixPipeInput

setup.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,9 @@ ignore=
3535

3636
[pytest:tool]
3737
testpaths=tests
38+
39+
[isort]
40+
include_trailing_comma=True
41+
known_first_party=prompt_toolkit
42+
known_third_party=asyncssh,pygments
43+
multi_line_output=3

0 commit comments

Comments
 (0)
0