Skip to content

Commit 3753ee5

Browse files
Applied Black code style.
1 parent 5e86b49 commit 3753ee5

File tree

138 files changed

+9287
-7326
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+9287
-7326
lines changed

prompt_toolkit/__init__.py

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,20 @@
1818
from .shortcuts import PromptSession, print_formatted_text, prompt
1919

2020
# Don't forget to update in `docs/conf.py`!
21-
__version__ = '3.0.0'
21+
__version__ = "3.0.0"
2222

2323
# Version tuple.
24-
VERSION = tuple(__version__.split('.'))
24+
VERSION = tuple(__version__.split("."))
2525

2626

2727
__all__ = [
2828
# Application.
29-
'Application',
30-
29+
"Application",
3130
# Shortcuts.
32-
'prompt',
33-
'PromptSession',
34-
'print_formatted_text',
35-
31+
"prompt",
32+
"PromptSession",
33+
"print_formatted_text",
3634
# Formatted text.
37-
'HTML', 'ANSI',
35+
"HTML",
36+
"ANSI",
3837
]

prompt_toolkit/application/__init__.py

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,16 @@
1111

1212
__all__ = [
1313
# Application.
14-
'Application',
15-
14+
"Application",
1615
# Current.
17-
'get_app_session',
18-
'create_app_session',
19-
'get_app',
20-
'get_app_or_none',
21-
'set_app',
22-
16+
"get_app_session",
17+
"create_app_session",
18+
"get_app",
19+
"get_app_or_none",
20+
"set_app",
2321
# Dummy.
24-
'DummyApplication',
25-
22+
"DummyApplication",
2623
# Run_in_terminal
27-
'in_terminal',
28-
'run_in_terminal',
24+
"in_terminal",
25+
"run_in_terminal",
2926
]

0 commit comments

Comments
 (0)