Skip to content

Commit 552c19b

Browse files
committed
Blacken.
1 parent 08c490f commit 552c19b

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

bpython/cli.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1990,12 +1990,16 @@ def main_curses(scr, args, config, interactive=True, locals_=None, banner=None):
19901990
clirepl.write("\n")
19911991

19921992
# XXX these deprecation warnings need to go at some point
1993-
clirepl.write("WARNING: You are using `bpython-cli`, the curses backend for `bpython`. This backend has been deprecated in version 0.19 and might disappear in a future version.")
1993+
clirepl.write(
1994+
"WARNING: You are using `bpython-cli`, the curses backend for `bpython`. This backend has been deprecated in version 0.19 and might disappear in a future version."
1995+
)
19941996
clirepl.write("\n")
19951997

19961998
if sys.version_info[0] == 2:
19971999
# XXX these deprecation warnings need to go at some point
1998-
clirepl.write("WARNING: You are using `bpython` on Python 2. Support for Python 2 has been deprecated in version 0.19 and might disappear in a future version.")
2000+
clirepl.write(
2001+
"WARNING: You are using `bpython` on Python 2. Support for Python 2 has been deprecated in version 0.19 and might disappear in a future version."
2002+
)
19992003
clirepl.write("\n")
20002004

20012005
exit_value = clirepl.repl()

bpython/curtsies.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,9 @@ def main(args=None, locals_=None, banner=None, welcome_message=None):
204204

205205
if sys.version_info[0] == 2:
206206
# XXX these deprecation warnings need to go at some point
207-
print("WARNING: You are using `bpython` on Python 2. Support for Python 2 has been deprecated in version 0.19 and might disappear in a future version.")
207+
print(
208+
"WARNING: You are using `bpython` on Python 2. Support for Python 2 has been deprecated in version 0.19 and might disappear in a future version."
209+
)
208210

209211
global repl
210212
repl = FullCurtsiesRepl(config, locals_, welcome_message, interp)

bpython/urwid.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1392,12 +1392,16 @@ def start(main_loop, user_data):
13921392
myrepl.write("\n")
13931393

13941394
# XXX these deprecation warnings need to go at some point
1395-
myrepl.write("WARNING: You are using `bpython-urwid`, the urwid backend for `bpython`. This backend has been deprecated in version 0.19 and might disappear in a future version.")
1395+
myrepl.write(
1396+
"WARNING: You are using `bpython-urwid`, the urwid backend for `bpython`. This backend has been deprecated in version 0.19 and might disappear in a future version."
1397+
)
13961398
myrepl.write("\n")
13971399

13981400
if sys.version_info[0] == 2:
13991401
# XXX these deprecation warnings need to go at some point
1400-
myrepl.write("WARNING: You are using `bpython` on Python 2. Support for Python 2 has been deprecated in version 0.19 and might disappear in a future version.")
1402+
myrepl.write(
1403+
"WARNING: You are using `bpython` on Python 2. Support for Python 2 has been deprecated in version 0.19 and might disappear in a future version."
1404+
)
14011405
myrepl.write("\n")
14021406

14031407
myrepl.start()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy